aboutsummaryrefslogtreecommitdiff
path: root/math/vtk5/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2011-01-12 09:40:37 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2011-01-12 09:40:37 +0000
commit401a5ebf987d385ee453343877f7ffb4531e2f7c (patch)
tree4364ef31b4d4f3ff6cc4ece8bbbd6553ea8503ac /math/vtk5/Makefile
parentef0eaeac3541c1aecf8e32cc4bcc49adee6a7d40 (diff)
Notes
Diffstat (limited to 'math/vtk5/Makefile')
-rw-r--r--math/vtk5/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index ba5f18c8931f..a0793592ece4 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -8,7 +8,7 @@
PORTNAME= vtk
PORTVERSION= 5.6.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math graphics
MASTER_SITES= http://www.vtk.org/files/release/${PORTVERSION:R}/ \
http://www.neuro.mcw.edu/Ports/distfiles/VTK5/
@@ -205,7 +205,7 @@ post-patch:
${REINPLACE_CMD} -e '222s|)|) \&\& !defined(__FreeBSD__)|' \
${WRKSRC}/Utilities/kwsys/SharedForward.h.in
${REINPLACE_CMD} -e '25,30d' ${WRKSRC}/Wrapping/Python/setup.py.in
-.if !defined(WITH_SHARED)
+.if defined(WITH_SHARED)
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|g' \
${WRKSRC}/IO/vtkPNGReader.cxx
.endif