[97415] trunk/dports/aqua/fltk-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 5 01:55:13 PDT 2012


Revision: 97415
          https://trac.macports.org/changeset/97415
Author:   ryandesign at macports.org
Date:     2012-09-05 01:55:13 -0700 (Wed, 05 Sep 2012)
Log Message:
-----------
fltk-devel: update to 1.3.x-r9678 (#29664); sync with fltk port

Revision Links:
--------------
    https://trac.macports.org/changeset/9678

Modified Paths:
--------------
    trunk/dports/aqua/fltk-devel/Portfile

Modified: trunk/dports/aqua/fltk-devel/Portfile
===================================================================
--- trunk/dports/aqua/fltk-devel/Portfile	2012-09-05 08:54:15 UTC (rev 97414)
+++ trunk/dports/aqua/fltk-devel/Portfile	2012-09-05 08:55:13 UTC (rev 97415)
@@ -5,13 +5,12 @@
 
 name            fltk-devel
 conflicts       fltk
-version         1.3.x-r9650
-revision        1
+version         1.3.x-r9678
 categories      aqua devel
+license         LGPL
 platforms       macosx
 maintainers     nomaintainer
 description     Fast Light Tool Kit
-license         LGPL-2
 
 long_description \
     FLTK (pronounced fulltick) \
@@ -31,8 +30,8 @@
 distname        fltk-${version}
 use_bzip2       yes
 
-checksums       rmd160  d3db2586f7e920dad5c32c018be3c630e9d4e153 \
-                sha256  f08732014fbfa1c417cb5d45f4534e343d194a450ad46b708eb865a03d6fa10f
+checksums       rmd160  b7f72e7b3ecf9483e212ced1a71be93ffae3b8d0 \
+                sha256  bf40e47ee986691ee5044eb001803c9e4419e2d7d26d2d316db4884f4626e6ed
 
 depends_lib     port:jpeg \
                 port:libpng \
@@ -41,36 +40,19 @@
 use_parallel_build  yes
 
 post-patch {
-    # set .app directory
     reinplace "s|/Applications|${applications_dir}/fltk|g" \
         ${worksrcpath}/fluid/Makefile \
         ${worksrcpath}/test/Makefile
 }
 
-# FIXME: Workaround a project bug
-# http://llvm.org/bugs/show_bug.cgi?id=10338
-if {${configure.compiler}=="clang"} {
-    configure.compiler  llvm-gcc-4.2
-}
+variant universal {}
 
-pre-configure {
-    configure.args-append --with-archflags=\"[get_canonical_archflags]\"
+configure.args  --enable-shared \
+                --disable-localjpeg \
+                --disable-localzlib \
+                --disable-localpng \
+                --with-archflags="[get_canonical_archflags]"
 
-    configure.universal_cflags ${configure.cflags}
-    configure.universal_cppflags ${configure.cppflags}
-    configure.universal_cxxflags ${configure.cxxflags}
-    configure.universal_ldflags ${configure.ldflags}
-}
-
-configure.cppflags
-configure.ldflags
-
-configure.args-append   \
-    --enable-shared     \
-    --disable-localjpeg \
-    --disable-localzlib \
-    --disable-localpng
-
 post-configure {
     reinplace -E {s|-arch [a-z0-9_]+||g} ${worksrcpath}/fltk-config
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120905/2f0a7245/attachment.html>


More information about the macports-changes mailing list