Opened 14 years ago
Closed 14 years ago
#28573 closed update (fixed)
fltk-devel update, fix universal build
Reported by: | jarno.rajahalme@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | fltk-devel |
Description
This update addresses several issues:
- 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.
- 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.
- Make universal variant the default, so other ports can depend on this, and build successfully, be them 32 or 64-bit applications.
- 64-bit builds no longer require any patching of ./configure.
- fltk 1.3 no longer depends on any external libs, so it has no dependencies.
- Fixed livecheck to work
Attachments (2)
Change History (6)
Changed 14 years ago by jarno.rajahalme@…
Changed 14 years ago by jarno.rajahalme@…
Attachment: | patch-fltk-devel.diff added |
---|
patch from the current fltk-devel/Portfile
comment:1 Changed 14 years ago by jarno.rajahalme@…
Also, setting the mandir for the configure was not needed, fltk's configure sets it properly already.
comment:3 Changed 14 years ago by michaelld (Michael Dickens)
Thank you for the update on fltk. Your changes -almost- work; I'll check-in an update as soon as I've tested everything.
comment:4 Changed 14 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
done in r76619; thanks again!
Note: See
TracTickets for help on using
tickets.
Updated Portfile