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:

  1. Updated to the newest fltk 1.3 weekly snapshot (1.3.x-r8472), that contains important fixes for OSX builds:

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.

  1. 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.
  1. Make universal variant the default, so other ports can depend on this, and build successfully, be them 32 or 64-bit applications.
  1. 64-bit builds no longer require any patching of ./configure.
  1. fltk 1.3 no longer depends on any external libs, so it has no dependencies.
  1. Fixed livecheck to work

Attachments (2)

Portfile (2.6 KB) - added by jarno.rajahalme@… 14 years ago.
Updated Portfile
patch-fltk-devel.diff (2.8 KB) - added by jarno.rajahalme@… 14 years ago.
patch from the current fltk-devel/Portfile

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by jarno.rajahalme@…

Attachment: Portfile added

Updated Portfile

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:2 Changed 14 years ago by jarno.rajahalme@…

Attached a patch from the current Portfile

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: newclosed

done in r76619; thanks again!

Note: See TracTickets for help on using tickets.