aboutsummaryrefslogtreecommitdiffstats
path: root/math/vtk6
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-07-07 16:17:50 +0800
committergahr <gahr@FreeBSD.org>2014-07-07 16:17:50 +0800
commit5914c766559c80214d87dcd7028d1cddae06adb9 (patch)
tree5dbee8bb3e8e363cdb4f8e10ae09b1f12e871928 /math/vtk6
parent7e774505671dca4f23a89a94f4c02696964483c5 (diff)
downloadfreebsd-ports-gnome-5914c766559c80214d87dcd7028d1cddae06adb9.tar.gz
freebsd-ports-gnome-5914c766559c80214d87dcd7028d1cddae06adb9.tar.zst
freebsd-ports-gnome-5914c766559c80214d87dcd7028d1cddae06adb9.zip
- libGL is not needed when building with OSMESA
Diffstat (limited to 'math/vtk6')
-rw-r--r--math/vtk6/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/vtk6/Makefile b/math/vtk6/Makefile
index 9a9f81de8bcc..23a4c4393ac5 100644
--- a/math/vtk6/Makefile
+++ b/math/vtk6/Makefile
@@ -28,7 +28,6 @@ LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
UNIQUENAME= ${PKGBASE}
CONFLICTS= vtk-4*
-USE_GL= gl
USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER}
USE_XORG= xt
USES= cmake:outsource
@@ -98,6 +97,7 @@ CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
PLIST_SUB+= X11="@comment " \
OSMESA=""
.else
+USE_GL= gl
PLIST_SUB+= X11="" \
OSMESA="@comment "
.endif