[90066] trunk/dports/graphics/opencv/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Mon Feb 20 09:54:07 PST 2012


Revision: 90066
          http://trac.macports.org/changeset/90066
Author:   macsforever2000 at macports.org
Date:     2012-02-20 09:54:07 -0800 (Mon, 20 Feb 2012)
Log Message:
-----------
opencv: Add py*-numpy dependencies to python variants. (#33307)

Modified Paths:
--------------
    trunk/dports/graphics/opencv/Portfile

Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile	2012-02-20 17:50:31 UTC (rev 90065)
+++ trunk/dports/graphics/opencv/Portfile	2012-02-20 17:54:07 UTC (rev 90066)
@@ -6,7 +6,7 @@
 
 name                            opencv
 version                         2.3.1a
-revision                        1
+revision                        2
 set short_version               [strsed ${version} {g/[^0-9.].*$//}]
 categories                      graphics science
 license                         BSD
@@ -114,7 +114,8 @@
 }
 
 variant python26 conflicts python27 description {Add Python 2.6 bindings} {
-    depends_lib-append          port:python26
+    depends_lib-append          port:python26 \
+                                port:py27-numpy
     configure.args-delete       -DBUILD_NEW_PYTHON_SUPPORT=OFF
     configure.args-append       -DINSTALL_PYTHON_EXAMPLES=ON \
                                 -DBUILD_NEW_PYTHON_SUPPORT=ON \
@@ -127,7 +128,8 @@
 }
 
 variant python27 conflicts python26 description {Add Python 2.7 bindings} {
-    depends_lib-append          port:python27
+    depends_lib-append          port:python27 \
+                                port:py27-numpy
     configure.args-delete       -DBUILD_NEW_PYTHON_SUPPORT=OFF
     configure.args-append       -DINSTALL_PYTHON_EXAMPLES=ON \
                                 -DBUILD_NEW_PYTHON_SUPPORT=ON \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120220/720f9004/attachment.html>


More information about the macports-changes mailing list