On Jul 21, 2007, at 23:00, [EMAIL PROTECTED] wrote:

Revision: 27155
          http://trac.macosforge.org/projects/macports/changeset/27155
Author:   [EMAIL PROTECTED]
Date:     2007-07-21 21:00:51 -0700 (Sat, 21 Jul 2007)

Log Message:
-----------
make sure we set that the platform only works on intel macs

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

Modified: trunk/dports/python/py-psyco/Portfile
===================================================================
--- trunk/dports/python/py-psyco/Portfile 2007-07-21 20:37:30 UTC (rev 27154) +++ trunk/dports/python/py-psyco/Portfile 2007-07-22 04:00:51 UTC (rev 27155)
@@ -5,7 +5,7 @@

 name                    py-psyco
 version                 1.5.2
-revision                1
+revision                2
 categories              python
 platforms               darwin
 maintainers             [EMAIL PROTECTED]
@@ -34,3 +34,5 @@
                  ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/ doc/${name}/
 }
+
+platform darwin i386 {}

There was no need to upgrade the revision: if somebody already had it installed, they were obviously already on a compatible architecture. Nothing is gained from forcing them to rebuild it.

You may also wish to check for compatible architecture in a different way. Your way currently handles only on Intel Mac OS X, but according to the project's web site, it works on any OS so long as it's the _86 architecture. Consider doing it the way I've done it in the wine port:

http://trac.macosforge.org/projects/macports/browser/trunk/dports/x11/ wine/Portfile



_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to