[MacPorts] #28573: fltk-devel update, fix universal build
#28573: fltk-devel update, fix universal build -------------------------------------+-------------------------------------- Reporter: jarno.rajahalme@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: fltk-devel -------------------------------------+-------------------------------------- This update addresses several issues: 1. Updated to the newest fltk 1.3 weekly snapshot (1.3.x-r8472), that contains important fixes for OSX builds: - Given proper configure args fltk actually builds as universal, and fltk- config no longer reports any -arch flags. See [http://fltk.org/newsgroups.php?s10749+gfltk.development+v10762+T0] - This, and an earlier fix in fltk header files (to not include OSX system headers, e.g. Objective-C headers, when compiling an application, see [http://fltk.org/newsgroups.php?s10369+gfltk.development+v10385+T0]) allows '''FLTK Applications''' to be compiled with non-Apple GCC versions (such as the various MacPorts toolchains). As an example, the new release of GNU Octave uses FLTK. These changes allow Octave to be built with gcc-mp-4.5, even though FLTK itself must be built with Apple GCC 4.2. 2. Updated the Portfile to pass arch flags only via --with-archflags, i.e. the same flags are removed from CFLAGS, etc. Without this change fltk- config still reports the archflags, which makes it hard to build e.g. an 64-bit app using universal fltk dylib. 3. Make universal variant the default, so other ports can depend on this, and build successfully, be them 32 or 64-bit applications. 4. 64-bit builds no longer require any patching of ./configure. 5. fltk 1.3 no longer depends on any external libs, so it has no dependencies. 6. Fixed livecheck to work -- Ticket URL: <https://trac.macports.org/ticket/28573> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28573: fltk-devel update, fix universal build -------------------------------------+-------------------------------------- Reporter: jarno.rajahalme@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: fltk-devel -------------------------------------+-------------------------------------- Comment(by jarno.rajahalme@…): Also, setting the mandir for the configure was not needed, fltk's configure sets it properly already. -- Ticket URL: <https://trac.macports.org/ticket/28573#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28573: fltk-devel update, fix universal build -------------------------------------+-------------------------------------- Reporter: jarno.rajahalme@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: fltk-devel -------------------------------------+-------------------------------------- Comment(by jarno.rajahalme@…): Attached a patch from the current Portfile -- Ticket URL: <https://trac.macports.org/ticket/28573#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28573: fltk-devel update, fix universal build -------------------------------------+-------------------------------------- Reporter: jarno.rajahalme@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: fltk-devel -------------------------------------+-------------------------------------- Comment(by michaelld@…): Thank you for the update on fltk. Your changes -almost- work; I'll check- in an update as soon as I've tested everything. -- Ticket URL: <https://trac.macports.org/ticket/28573#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28573: fltk-devel update, fix universal build --------------------------------------+------------------------------------- Reporter: jarno.rajahalme@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: fltk-devel | --------------------------------------+------------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: done in r76619; thanks again! -- Ticket URL: <https://trac.macports.org/ticket/28573#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts