[72687] trunk/dports/graphics/vtk5/Portfile
michaelld at macports.org
michaelld at macports.org
Sat Oct 23 16:55:10 PDT 2010
Revision: 72687
http://trac.macports.org/changeset/72687
Author: michaelld at macports.org
Date: 2010-10-23 16:55:07 -0700 (Sat, 23 Oct 2010)
Log Message:
-----------
vtk5: Trail fix for ticket #26956; works for me now.
Modified Paths:
--------------
trunk/dports/graphics/vtk5/Portfile
Modified: trunk/dports/graphics/vtk5/Portfile
===================================================================
--- trunk/dports/graphics/vtk5/Portfile 2010-10-23 22:13:11 UTC (rev 72686)
+++ trunk/dports/graphics/vtk5/Portfile 2010-10-23 23:55:07 UTC (rev 72687)
@@ -147,15 +147,21 @@
}
}
+if {[variant_isset qt4_mac]} {
+ PortGroup qt4 1.0
+}
+
variant qt4_mac conflicts x11 description {Build GUI support with Qt4 (Mac)} {
- PortGroup qt4 1.0
configure.args-append -DVTK_USE_QT:BOOL=ON \
- -DVTK_USE_GUISUPPORT:BOOL=ON
-
+ -DVTK_USE_GUISUPPORT:BOOL=ON \
+ -DQT_PHONON_INCLUDE_DIR=${prefix}/include/phonon \
+ ${qt_cmake_defines}
post-destroot {
xinstall -m 755 -d ${destroot}${qt_plugins_dir}/designer
move ${destroot}${prefix}/plugins/designer/libQVTKWidgetPlugin.dylib \
${destroot}${qt_plugins_dir}/designer/
+ set fixfile ${qt_plugins_dir}/designer/libQVTKWidgetPlugin.dylib
+ system "install_name_tool -id ${fixfile} ${destroot}${fixfile}"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101023/7b47bfcf/attachment.html>
More information about the macports-changes
mailing list