[108553] trunk/dports/gis/libpcl/Portfile

vince at macports.org vince at macports.org
Fri Jul 26 04:41:35 PDT 2013


Revision: 108553
          https://trac.macports.org/changeset/108553
Author:   vince at macports.org
Date:     2013-07-26 04:41:35 -0700 (Fri, 26 Jul 2013)
Log Message:
-----------
Specify that the vtk5 portfile must be build against the +qt4_mac variant

Modified Paths:
--------------
    trunk/dports/gis/libpcl/Portfile

Modified: trunk/dports/gis/libpcl/Portfile
===================================================================
--- trunk/dports/gis/libpcl/Portfile	2013-07-26 09:47:05 UTC (rev 108552)
+++ trunk/dports/gis/libpcl/Portfile	2013-07-26 11:41:35 UTC (rev 108553)
@@ -4,6 +4,7 @@
 PortSystem          1.0
 PortGroup           cmake 1.0
 PortGroup           github 1.0
+PortGroup           active_variants 1.1
 
 name                libpcl
 version             1.7.0
@@ -36,6 +37,12 @@
                     port:qhull \
                     port:openni
 
+pre-configure {
+    if {![active_variants vtk5 "qt4_mac" ""]} {
+        return -code error "VTK5 toolkit must be built over Qt4.\
+                            Please reinstall with +qt4_mac variant."
+} 
+
 configure.args-append   -DOPENNI_INCLUDE_DIR=${prefix}/include/ni
 # PCL 1.6 does not compile with clang or macports-gcc-4.x
 # https://trac.macports.org/ticket/37813
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130726/9c49c63e/attachment-0001.html>


More information about the macports-changes mailing list