[88961] trunk/dports/devel/poll-emulator/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 15 01:07:46 PST 2012


Revision: 88961
          http://trac.macports.org/changeset/88961
Author:   ryandesign at macports.org
Date:     2012-01-15 01:07:46 -0800 (Sun, 15 Jan 2012)
Log Message:
-----------
poll-emulator: add universal variant

Modified Paths:
--------------
    trunk/dports/devel/poll-emulator/Portfile

Modified: trunk/dports/devel/poll-emulator/Portfile
===================================================================
--- trunk/dports/devel/poll-emulator/Portfile	2012-01-15 09:06:47 UTC (rev 88960)
+++ trunk/dports/devel/poll-emulator/Portfile	2012-01-15 09:07:46 UTC (rev 88961)
@@ -26,9 +26,11 @@
 
 use_configure           no
 
+variant universal {}
+
 build.pre_args          PREFIX=${prefix}
 build.args              CC=${configure.cc} \
-                        CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
-                        LDFLAGS="${configure.ld_archflags}"
+                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+                        LDFLAGS="[get_canonical_archflags ld]"
 
 destroot.destdir        PREFIX=${destroot}${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120115/2636d8e6/attachment.html>


More information about the macports-changes mailing list