aboutsummaryrefslogtreecommitdiff
path: root/math/vtk6
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2019-06-30 23:39:02 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2019-06-30 23:39:02 +0000
commit4a94a871d01e571bf51b3990275e2629bb2159ba (patch)
tree7e8af9d1fa09c317f9616cfdd19f4b23b053bda4 /math/vtk6
parent6d33d2796be1f50deae14a8359469e86821c7bd4 (diff)
downloadports-4a94a871d01e571bf51b3990275e2629bb2159ba.tar.gz
ports-4a94a871d01e571bf51b3990275e2629bb2159ba.zip
- powerpc64 needs -mminimal-toc in CXXFLAGS.
PR: 238894 Submitted by: Piotr Kubaj <pkubaj@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=505526
Diffstat (limited to 'math/vtk6')
-rw-r--r--math/vtk6/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/vtk6/Makefile b/math/vtk6/Makefile
index 05d624ac4119..86a79d057d22 100644
--- a/math/vtk6/Makefile
+++ b/math/vtk6/Makefile
@@ -26,8 +26,8 @@ LIB_DEPENDS= libtiff.so:graphics/tiff \
CONFLICTS= vtk5 vtk8
USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER}
USE_XORG= xt sm ice x11 xext
-USES= alias cmake jpeg
-CXXFLAGS+= -I${LOCALBASE}/include
+USES= alias cmake jpeg localbase
+CXXFLAGS_powerpc64= -mminimal-toc
VTK_SHORT_VER= ${PORTVERSION:R}
PLIST_SUB+= VER2=${VTK_SHORT_VER}