[22463] trunk/dports/sysutils/srm/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 1 06:02:40 PST 2007


Revision: 22463
          http://trac.macosforge.org/projects/macports/changeset/22463
Author:   pipping at macports.org
Date:     2007-03-01 06:02:40 -0800 (Thu, 01 Mar 2007)

Log Message:
-----------
 * fix variant universal

Modified Paths:
--------------
    trunk/dports/sysutils/srm/Portfile

Modified: trunk/dports/sysutils/srm/Portfile
===================================================================
--- trunk/dports/sysutils/srm/Portfile	2007-03-01 14:02:20 UTC (rev 22462)
+++ trunk/dports/sysutils/srm/Portfile	2007-03-01 14:02:40 UTC (rev 22463)
@@ -21,3 +21,13 @@
 configure.args  --mandir=${prefix}/share/man 
 configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \
                 CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 
+
+if {[llength [info commands configure.universal_ldflags-append]] > 0} {
+    configure.universal_cflags-append \
+      -no-cpp-precomp -flat_namespace -undefined suppress
+} else {
+    variant universal {
+        return -code error "You need to be running MacPorts 1.4.0 or higher to \
+        use this variant (universal)."
+    }
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070301/d5255b68/attachment.html


More information about the macports-changes mailing list