[67060] trunk/dports/emulators/bochs/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Apr 27 22:07:34 PDT 2010


Revision: 67060
          http://trac.macports.org/changeset/67060
Author:   ryandesign at macports.org
Date:     2010-04-27 22:07:32 -0700 (Tue, 27 Apr 2010)
Log Message:
-----------
bochs: fix how we indicate that this requires a 32-bit build

Modified Paths:
--------------
    trunk/dports/emulators/bochs/Portfile

Modified: trunk/dports/emulators/bochs/Portfile
===================================================================
--- trunk/dports/emulators/bochs/Portfile	2010-04-28 04:59:26 UTC (rev 67059)
+++ trunk/dports/emulators/bochs/Portfile	2010-04-28 05:07:32 UTC (rev 67060)
@@ -23,6 +23,18 @@
 
 depends_run     port:wget
 
+if {[info exists supported_archs]} {
+    supported_archs i386 ppc
+}
+switch ${configure.build_arch} {
+    x86_64 {
+        configure.build_arch i386
+    }
+    ppc64 {
+        configure.build_arch ppc
+    }
+}
+
 configure.args	--exec-prefix=${prefix} \
 		--bindir=${prefix}/bin \
 		--mandir=${prefix}/share/man \
@@ -69,10 +81,6 @@
    you may also use the bochs command line utility. \n"
 }
 
-platform darwin 10 {
-	configure.build_arch i386
-}
-
 livecheck.type      regex
 livecheck.url       http://sourceforge.net/projects/${name}/files/
 livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100427/31ca936f/attachment.html>


More information about the macports-changes mailing list