[75768] trunk/dports/aqua/fltk/Portfile

jmr at macports.org jmr at macports.org
Mon Feb 7 16:22:25 PST 2011


Revision: 75768
          http://trac.macports.org/changeset/75768
Author:   jmr at macports.org
Date:     2011-02-07 16:22:25 -0800 (Mon, 07 Feb 2011)
Log Message:
-----------
fltk: simplify and avoid use of non-public proc

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

Modified: trunk/dports/aqua/fltk/Portfile
===================================================================
--- trunk/dports/aqua/fltk/Portfile	2011-02-08 00:15:03 UTC (rev 75767)
+++ trunk/dports/aqua/fltk/Portfile	2011-02-08 00:22:25 UTC (rev 75768)
@@ -47,23 +47,15 @@
         ${worksrcpath}/test/Makefile
 }
 
-pre-configure {
-    set arches [join [get_canonical_archs] " -arch "]
-    configure.env         DSOFLAGS=\"-arch ${arches}\"
-    configure.args-append --with-archflags=\"-arch ${arches}\"
-}
-
 configure.cflags
 configure.cppflags
 configure.cxxflags
 configure.ldflags
-configure.universal_cflags
-configure.universal_cppflags
-configure.universal_cxxflags
-configure.universal_ldflags
+configure.env         DSOFLAGS=\"${configure.ld_archflags}\"
 configure.args  --enable-threads \
                 --enable-shared \
-                --mandir=${prefix}/share/man
+                --mandir=${prefix}/share/man \
+                --with-archflags=\"${configure.cc_archflags}\"
 
 destroot.target install \
                 install-desktop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110207/f73490ee/attachment.html>


More information about the macports-changes mailing list