[88273] trunk/dports/fuse/fuse4x-kext/Portfile

dports at macports.org dports at macports.org
Sat Dec 24 18:56:34 PST 2011


Revision: 88273
          http://trac.macports.org/changeset/88273
Author:   dports at macports.org
Date:     2011-12-24 18:56:28 -0800 (Sat, 24 Dec 2011)
Log Message:
-----------
fuse4x-kext: fix build architecture on PPC machines
  * only build +universal by default on Intel platforms
  * set supported_archs so that we don't try to build ppc64

See http://lists.macosforge.org/pipermail/macports-dev/2011-December/017226.html

Modified Paths:
--------------
    trunk/dports/fuse/fuse4x-kext/Portfile

Modified: trunk/dports/fuse/fuse4x-kext/Portfile
===================================================================
--- trunk/dports/fuse/fuse4x-kext/Portfile	2011-12-24 23:14:41 UTC (rev 88272)
+++ trunk/dports/fuse/fuse4x-kext/Portfile	2011-12-25 02:56:28 UTC (rev 88273)
@@ -36,8 +36,12 @@
 # architecture as the kernel. We don't have a way to get that;
 # build_arch is the userland architecture, which may be different
 # (e.g. 64-bit userland with 32-bit kernel). So build a universal
-# binary by default.
-default_variants    +universal
+# binary by default on Intel platforms. On PPC, there's only one
+# kernel, so don't try to build it ppc64 or universal.
+supported_archs     i386 x86_64 ppc
+if {$build_arch == "i386" || $build_arch == "x86_64"} {
+    default_variants    +universal
+}
 
 # kext destination: kext will be installed into ${kextdir}/fuse4x.kext.
 #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111224/4520159b/attachment.html>


More information about the macports-changes mailing list