[45925] trunk/dports/devel/libedit/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sun Jan 25 08:08:27 PST 2009


Revision: 45925
          http://trac.macports.org/changeset/45925
Author:   mcalhoun at macports.org
Date:     2009-01-25 08:08:26 -0800 (Sun, 25 Jan 2009)
Log Message:
-----------
libedit: Use PortGroup muniversal 1.0 to build universal.

Modified Paths:
--------------
    trunk/dports/devel/libedit/Portfile

Modified: trunk/dports/devel/libedit/Portfile
===================================================================
--- trunk/dports/devel/libedit/Portfile	2009-01-25 16:00:16 UTC (rev 45924)
+++ trunk/dports/devel/libedit/Portfile	2009-01-25 16:08:26 UTC (rev 45925)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup  muniversal 1.0
 
 name             libedit
 version          20090111-3.0
@@ -23,17 +24,6 @@
 
 depends_lib      port:ncurses
 
-variant universal {
-    # The libtool used by libedit does not use "-arch xxx" when linking.
-    # The workaround is to set CC (which is used as the linker) as
-    #     ${CC} -arch xxx -arch yyy ...
-    configure.cmd env CC=\"\${CC}
-    foreach arch ${universal_archs} {
-        configure.cmd-append -arch ${arch}
-    }
-    configure.cmd-append \" ./configure
-}
-
 livecheck.check regex
 livecheck.url   ${master_sites}
 livecheck.regex "${name}-(\\d+-\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090125/9989f441/attachment.html>


More information about the macports-changes mailing list