Modified: trunk/dports/gis/libpcl/Portfile (108552 => 108553)
--- 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