aboutsummaryrefslogtreecommitdiffstats
path: root/math/vtk5
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2010-06-22 21:13:07 +0800
committergahr <gahr@FreeBSD.org>2010-06-22 21:13:07 +0800
commit6162744b7785680fb0a6fff38a75bd44653e568f (patch)
tree80c9c7f624c4560a2fccb233247380df8eed00dc /math/vtk5
parent14f9adbea5e68f917ded09a363e007d3843aec27 (diff)
downloadfreebsd-ports-gnome-6162744b7785680fb0a6fff38a75bd44653e568f.tar.gz
freebsd-ports-gnome-6162744b7785680fb0a6fff38a75bd44653e568f.tar.zst
freebsd-ports-gnome-6162744b7785680fb0a6fff38a75bd44653e568f.zip
- Restore patch to build with Qt4 support when Qt3 is installed
Reminded by: Stas Timokhin <devel@stasyan.com> (via private email) Feature safe: yes
Diffstat (limited to 'math/vtk5')
-rw-r--r--math/vtk5/files/patch-VTK_GUISupport_Qt_CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/vtk5/files/patch-VTK_GUISupport_Qt_CMakeLists.txt b/math/vtk5/files/patch-VTK_GUISupport_Qt_CMakeLists.txt
new file mode 100644
index 000000000000..4321cf3520f5
--- /dev/null
+++ b/math/vtk5/files/patch-VTK_GUISupport_Qt_CMakeLists.txt
@@ -0,0 +1,14 @@
+--- GUISupport/Qt/CMakeLists.txt.orig 2010-03-08 21:22:50.000000000 +0600
++++ GUISupport/Qt/CMakeLists.txt 2010-06-13 16:42:00.000000000 +0700
+@@ -164,7 +164,10 @@
+ ${QT_QTGUI_LIBRARY}
+ )
+ ENDIF(QT_QTGUI_LIBRARY)
+-INCLUDE_DIRECTORIES(${QT_QTDESIGNER_INCLUDE_DIR})
++INCLUDE_DIRECTORIES(BEFORE ${QT_QTDESIGNER_INCLUDE_DIR})
++INCLUDE_DIRECTORIES(BEFORE ${QT_QTGUI_INCLUDE_DIR})
++INCLUDE_DIRECTORIES(BEFORE ${QT_QTSQL_INCLUDE_DIR})
++INCLUDE_DIRECTORIES(BEFORE ${QT_QTCORE_INCLUDE_DIR})
+ QT4_WRAP_CPP ( PluginMocSrcs ${PluginMocHeaders} )
+
+ # add QVTK plugin from sources