aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-12-12 02:55:42 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-12-12 02:55:42 +0000
commit9ffc9ef7c559c78634bdf4366efea9d3a7700500 (patch)
tree2602e319da9c90c633de775e187b1e8f47668aaa /science
parent13072cbd393152bdd29227a14ecb7ea375e33a17 (diff)
downloadports-9ffc9ef7c559c78634bdf4366efea9d3a7700500.tar.gz
ports-9ffc9ef7c559c78634bdf4366efea9d3a7700500.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/paraview/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/science/paraview/Makefile b/science/paraview/Makefile
index dfc5e52222e3..f62fd677ffcc 100644
--- a/science/paraview/Makefile
+++ b/science/paraview/Makefile
@@ -34,9 +34,13 @@ MAKE_ENV= CC="${CC}" \
LIB_INSTDIR= ${PREFIX}/lib/${PORTNAME}-${PORTVERSION:R}
pre-patch:
- ${REINPLACE_CMD} -e 's|vtkpng|png|g' \
+ @${REINPLACE_CMD} -e 's|vtkpng|png|g' \
${WRKDIR}/paraview-${PORTVERSION}/GUI/Widgets/CMakeLists.txt
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKDIR}/paraview-${PORTVERSION}/Utilities/TclTk/tk*/unix/configure
+
do-configure:
${MKDIR} ${WRKSRC}
cd ${WRKSRC} && \