[MacPorts] #28573: fltk-devel update, fix universal build

MacPorts noreply at macports.org
Mon Feb 28 06:10:47 PST 2011


#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


More information about the macports-tickets mailing list