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

macsforever2000 at macports.org macsforever2000 at macports.org
Sun Mar 6 13:16:10 PST 2011


Revision: 76721
          http://trac.macports.org/changeset/76721
Author:   macsforever2000 at macports.org
Date:     2011-03-06 13:16:06 -0800 (Sun, 06 Mar 2011)
Log Message:
-----------
opencv: Maintainer timeout. Add missing reinplace for python27 variant. (#28332)

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

Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile	2011-03-06 21:06:00 UTC (rev 76720)
+++ trunk/dports/graphics/opencv/Portfile	2011-03-06 21:16:06 UTC (rev 76721)
@@ -58,6 +58,9 @@
     if {[variant_isset python26]} {
         reinplace "s|@@PYTHON_PKGD@@|${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages|g" ${worksrcpath}/CMakeLists.txt
     }
+    if {[variant_isset python27]} {
+        reinplace "s|@@PYTHON_PKGD@@|${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages|g" ${worksrcpath}/CMakeLists.txt
+    }
 }
 
 configure.args-append           -DBUILD_NEW_PYTHON_SUPPORT=OFF \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110306/738ce747/attachment.html>


More information about the macports-changes mailing list