diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2012-03-12 07:56:44 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2012-03-12 07:56:44 +0000 |
commit | fc2e0de62e483d04e5c454d552cbfd3230d7857a (patch) | |
tree | 101485690d7a2bba1cc3ac2b86f14be896dc5e9b /math/vtk5/Makefile | |
parent | e5f8126f203150531e5726bb5b3c94d1fea17670 (diff) | |
download | ports-fc2e0de62e483d04e5c454d552cbfd3230d7857a.tar.gz ports-fc2e0de62e483d04e5c454d552cbfd3230d7857a.zip |
Notes
Diffstat (limited to 'math/vtk5/Makefile')
-rw-r--r-- | math/vtk5/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile index 3ad31f3938ef..f839a066b8ae 100644 --- a/math/vtk5/Makefile +++ b/math/vtk5/Makefile @@ -30,7 +30,6 @@ CONFLICTS= vtk-4* SUB_FILES= vtk.3 USE_CMAKE= yes -USE_GL= yes USE_XORG= xt USE_LDCONFIG= ${PREFIX}/lib/vtk-${PORTVERSION:R} MAKE_JOBS_SAFE= yes @@ -109,7 +108,11 @@ PLIST_SUB+= GL2PS="@comment " LIB_DEPENDS+= OSMesa32.8:${PORTSDIR}/graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ - -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa32.so + -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa32.so \ + -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa32.so \ + -DOPENGL_glu_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSGLU.so +.else +USE_GL= yes .endif .if defined(WITH_QT) |