[46771] trunk/dports/devel/libffi/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Thu Feb 12 10:21:41 PST 2009
Revision: 46771
http://trac.macports.org/changeset/46771
Author: mcalhoun at macports.org
Date: 2009-02-12 10:21:40 -0800 (Thu, 12 Feb 2009)
Log Message:
-----------
libffi: Allow universal build using muniversal PortGroup.
Modified Paths:
--------------
trunk/dports/devel/libffi/Portfile
Modified: trunk/dports/devel/libffi/Portfile
===================================================================
--- trunk/dports/devel/libffi/Portfile 2009-02-12 17:17:38 UTC (rev 46770)
+++ trunk/dports/devel/libffi/Portfile 2009-02-12 18:21:40 UTC (rev 46771)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
name libffi
version 3.0.8
@@ -30,7 +31,13 @@
patchfiles patch-includedir.diff patch-ffitarget.h.diff
-universal_variant no
+array set merger_host {
+ ppc64 powerpc-apple-darwin
+}
+set merger_dont_diff ${prefix}/include/ffitarget.h
+if {[variant_isset universal]} {
+ patchfiles-append patch-ffi.h.in.diff
+}
livecheck.url ${homepage}
livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090212/24100ded/attachment-0001.html>
More information about the macports-changes
mailing list