Revision: 76619 http://trac.macports.org/changeset/76619 Author: michaelld@macports.org Date: 2011-03-02 13:00:27 -0800 (Wed, 02 Mar 2011) Log Message: ----------- fltk-devel: * fixes ticket #28573 ; * bump to r8472 ; * fix livecheck ; * update configure.args ; * 64-bit works out-of-the-box now. Revision Links: -------------- http://trac.macports.org/changeset/8472 Modified Paths: -------------- trunk/dports/aqua/fltk-devel/Portfile Modified: trunk/dports/aqua/fltk-devel/Portfile =================================================================== --- trunk/dports/aqua/fltk-devel/Portfile 2011-03-02 19:24:03 UTC (rev 76618) +++ trunk/dports/aqua/fltk-devel/Portfile 2011-03-02 21:00:27 UTC (rev 76619) @@ -5,8 +5,7 @@ name fltk-devel conflicts fltk -version 1.3.x-r7794 -revision 1 +version 1.3.x-r8472 categories aqua devel platforms macosx maintainers nomaintainer @@ -31,9 +30,9 @@ distname fltk-${version} use_bzip2 yes -checksums md5 1500dacd85587b02aa6009090c661ccb \ - sha1 cb6ed7681b81a5126dcec8be57ac4cb39aef0243 \ - rmd160 668f3b5cad382d72495400e9dadb37b62147f2e4 +checksums md5 b27b9d75effbd88505ed22851e9babf3 \ + sha1 8258df43f9a60ebe1b4560075a0a8fd85b9127ec \ + rmd160 7b672d5adb99ffef6cedbdbb4a76b12f5313b82c depends_lib port:jpeg \ port:libpng \ @@ -48,9 +47,6 @@ reinplace "s|/Applications|${applications_dir}/fltk|g" \ ${worksrcpath}/fluid/Makefile \ ${worksrcpath}/test/Makefile - - # allow for 64-bit installs - reinplace "s| -arch i386||g" ${worksrcpath}/configure } pre-configure { @@ -59,26 +55,26 @@ } else { set archflags ${configure.cc_archflags} } - configure.env DSOFLAGS=\"${archflags}\" configure.args-append --with-archflags=\"${archflags}\" + + configure.universal_cflags ${configure.cflags} + configure.universal_cppflags ${configure.cppflags} + configure.universal_cxxflags ${configure.cxxflags} + configure.universal_ldflags ${configure.ldflags} } -configure.cflags configure.cppflags -configure.cxxflags configure.ldflags -configure.universal_cflags -configure.universal_cppflags -configure.universal_cxxflags -configure.universal_ldflags -configure.args --enable-shared \ - --mandir=${prefix}/share/man +configure.args-append \ + --enable-shared \ + --disable-localjpeg \ + --disable-localzlib \ + --disable-localpng + destroot.target install \ install-desktop -universal_variant yes - livecheck.type regexm livecheck.url ${homepage} -livecheck.regex "Developmental Release.*?\n.*?VERSION=(\\d+(\\.\\d+)*)'" +livecheck.regex "Snapshots:.*VERSION=(1\\.3\\.x-r\\d+)'"