aboutsummaryrefslogtreecommitdiffstats
path: root/math/vtk5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/vtk5/Makefile')
-rw-r--r--math/vtk5/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index 77191d851530..157de5d1f8a0 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -35,7 +35,9 @@ PLIST= ${PKGDIR}/pkg-plist.with_patented
.endif
post-patch:
- ${PERL} -pi -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \
+ ${PERL} -pi -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
+ s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
+ s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
post-install: