aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-07-10 07:05:10 +0800
committeritetcu <itetcu@FreeBSD.org>2006-07-10 07:05:10 +0800
commitb5fe9a1c421d4d96d16b8607d222a47d9209ef61 (patch)
tree600548aacb2a831ac423213e591af90509382ace /math
parent9e60f4ccef3b0dc8c590828611147c8a327906d3 (diff)
downloadfreebsd-ports-gnome-b5fe9a1c421d4d96d16b8607d222a47d9209ef61.tar.gz
freebsd-ports-gnome-b5fe9a1c421d4d96d16b8607d222a47d9209ef61.tar.zst
freebsd-ports-gnome-b5fe9a1c421d4d96d16b8607d222a47d9209ef61.zip
Unbreak this and slave ports.
PR: ports/99202 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Approved by: maintainer timeout
Diffstat (limited to 'math')
-rw-r--r--math/vtk/Makefile6
-rw-r--r--math/vtk5/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/math/vtk/Makefile b/math/vtk/Makefile
index e627c34abc93..f61cfbd5b890 100644
--- a/math/vtk/Makefile
+++ b/math/vtk/Makefile
@@ -23,8 +23,6 @@ DISTFILES?= VTK-${PORTVERSION}-LatestRelease.tar.gz
MAINTAINER= ko@irfu.se
COMMENT?= The Visualization Toolkit shared libs
-BROKEN= Does not build
-
LIBVER= 1
VTKSRCDIR= ${WRKDIR}/VTK
TESTINGDIR= ${EXAMPLESDIR}/Testing
@@ -155,6 +153,8 @@ patch-common:
#
# -TARGET_LINK_LIBRARIES(vtk${KIT} ${KIT_LIBS})
#
+# -INSTALL_TARGETS(/lib/vtk vtk${KIT})
+#
# ${VTKSRCDIR}/[Common Filtering IO ...]/Tests/CMakeLists.txt :
# -SUBDIRS(Cxx)
#
@@ -163,7 +163,7 @@ patch-common:
@for dir in ${VTK_KITS} ; do \
${ECHO_MSG} "Patching ${WRKDIR}/${VTKSRCDIR}/$$dir/CMakeLists.txt ..." ; \
- ${REINPLACE_CMD} -E 's|ADD_LIBRARY *\(vtk\$$\{KIT\} .*$$|FIND_LIBRARY\('$$dir'_LIB NAMES vtk\$$\{KIT\} PATHS ${PREFIX}/lib\)|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\}${WRAP} vtk\$$\{KIT\}|TARGET_LINK_LIBRARIES\(vtk\$$\{KIT\}${WRAP} \$$\{'$$dir'_LIB\}|g ; s|^[ \t]*vtk\$$\{KIT\}[ \t]*$$| \$$\{'$$dir'_LIB\}|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\} .*$$||g' \
+ ${REINPLACE_CMD} -E 's|ADD_LIBRARY *\(vtk\$$\{KIT\} .*$$|FIND_LIBRARY\('$$dir'_LIB NAMES vtk\$$\{KIT\} PATHS ${PREFIX}/lib\)|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\}${WRAP} vtk\$$\{KIT\}|TARGET_LINK_LIBRARIES\(vtk\$$\{KIT\}${WRAP} \$$\{'$$dir'_LIB\}|g ; s|^[ \t]*vtk\$$\{KIT\}[ \t]*$$| \$$\{'$$dir'_LIB\}|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\} .*$$||g ; s|INSTALL_TARGETS *\(.* vtk\$$\{KIT\}\)||g' \
${VTKSRCDIR}/$$dir/CMakeLists.txt ; \
done
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index e627c34abc93..f61cfbd5b890 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -23,8 +23,6 @@ DISTFILES?= VTK-${PORTVERSION}-LatestRelease.tar.gz
MAINTAINER= ko@irfu.se
COMMENT?= The Visualization Toolkit shared libs
-BROKEN= Does not build
-
LIBVER= 1
VTKSRCDIR= ${WRKDIR}/VTK
TESTINGDIR= ${EXAMPLESDIR}/Testing
@@ -155,6 +153,8 @@ patch-common:
#
# -TARGET_LINK_LIBRARIES(vtk${KIT} ${KIT_LIBS})
#
+# -INSTALL_TARGETS(/lib/vtk vtk${KIT})
+#
# ${VTKSRCDIR}/[Common Filtering IO ...]/Tests/CMakeLists.txt :
# -SUBDIRS(Cxx)
#
@@ -163,7 +163,7 @@ patch-common:
@for dir in ${VTK_KITS} ; do \
${ECHO_MSG} "Patching ${WRKDIR}/${VTKSRCDIR}/$$dir/CMakeLists.txt ..." ; \
- ${REINPLACE_CMD} -E 's|ADD_LIBRARY *\(vtk\$$\{KIT\} .*$$|FIND_LIBRARY\('$$dir'_LIB NAMES vtk\$$\{KIT\} PATHS ${PREFIX}/lib\)|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\}${WRAP} vtk\$$\{KIT\}|TARGET_LINK_LIBRARIES\(vtk\$$\{KIT\}${WRAP} \$$\{'$$dir'_LIB\}|g ; s|^[ \t]*vtk\$$\{KIT\}[ \t]*$$| \$$\{'$$dir'_LIB\}|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\} .*$$||g' \
+ ${REINPLACE_CMD} -E 's|ADD_LIBRARY *\(vtk\$$\{KIT\} .*$$|FIND_LIBRARY\('$$dir'_LIB NAMES vtk\$$\{KIT\} PATHS ${PREFIX}/lib\)|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\}${WRAP} vtk\$$\{KIT\}|TARGET_LINK_LIBRARIES\(vtk\$$\{KIT\}${WRAP} \$$\{'$$dir'_LIB\}|g ; s|^[ \t]*vtk\$$\{KIT\}[ \t]*$$| \$$\{'$$dir'_LIB\}|g ; s|TARGET_LINK_LIBRARIES *\(vtk\$$\{KIT\} .*$$||g ; s|INSTALL_TARGETS *\(.* vtk\$$\{KIT\}\)||g' \
${VTKSRCDIR}/$$dir/CMakeLists.txt ; \
done