[91976] trunk/dports/python/py-polygon/Portfile

jmr at macports.org jmr at macports.org
Sat Apr 14 04:12:57 PDT 2012


Revision: 91976
          https://trac.macports.org/changeset/91976
Author:   jmr at macports.org
Date:     2012-04-14 04:12:56 -0700 (Sat, 14 Apr 2012)
Log Message:
-----------
py-polygon: fix numpy variant

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

Modified: trunk/dports/python/py-polygon/Portfile
===================================================================
--- trunk/dports/python/py-polygon/Portfile	2012-04-14 11:11:07 UTC (rev 91975)
+++ trunk/dports/python/py-polygon/Portfile	2012-04-14 11:12:56 UTC (rev 91976)
@@ -34,8 +34,10 @@
 python.default_version 27
 
 variant numpy description {Build with NumPy support} {
-    depends_lib-append  port:py${python.version}-numpy
-    patchfiles-append   patch-setup.py.diff
+    if {$subport != $name} {
+        depends_lib-append  port:py${python.version}-numpy
+        patchfiles-append   patch-setup.py.diff
+    }
 }
 
 if {$subport != $name} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120414/a095d7ac/attachment.html>


More information about the macports-changes mailing list