[68010] trunk/dports/python/py26-psyco/Portfile

jmr at macports.org jmr at macports.org
Mon May 24 12:51:25 PDT 2010


Revision: 68010
          http://trac.macports.org/changeset/68010
Author:   jmr at macports.org
Date:     2010-05-24 12:51:21 -0700 (Mon, 24 May 2010)
Log Message:
-----------
py26-psyco: refine arch restriction

Modified Paths:
--------------
    trunk/dports/python/py26-psyco/Portfile

Modified: trunk/dports/python/py26-psyco/Portfile
===================================================================
--- trunk/dports/python/py26-psyco/Portfile	2010-05-24 19:47:52 UTC (rev 68009)
+++ trunk/dports/python/py26-psyco/Portfile	2010-05-24 19:51:21 UTC (rev 68010)
@@ -9,6 +9,9 @@
 platforms               darwin
 if {[info exists supported_archs]} {
     supported_archs i386
+} else {
+    configure.build_arch i386
+    universal_variant no
 }
 license                 MIT
 maintainers             jmr openmaintainer
@@ -27,8 +30,8 @@
 extract.post_args       "| tar -xf - --exclude '.cvsignore'"
 
 pre-fetch {
-	if {${configure.build_arch} != "i386"} {
-		return -code error "psyco only works on Intel IA-32 machines"
+	if {${os.arch} != "i386"} {
+		return -code error "psyco only works on Intel machines"
 	}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100524/4863fbd5/attachment.html>


More information about the macports-changes mailing list