aboutsummaryrefslogtreecommitdiffstats
path: root/x11/virtualgl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/virtualgl/Makefile')
-rw-r--r--x11/virtualgl/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/x11/virtualgl/Makefile b/x11/virtualgl/Makefile
index e7dd690f18c1..0afcd34b8dab 100644
--- a/x11/virtualgl/Makefile
+++ b/x11/virtualgl/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= virtualgl
-PORTVERSION= 2.3.3
-PORTREVISION= 1
+PORTVERSION= 2.4.1
CATEGORIES= x11 graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
DISTNAME= VirtualGL-${PORTVERSION}
@@ -12,8 +11,10 @@ MAINTAINER= davidjx8p@gmail.com
COMMENT= Redirects commands from an OpenGL app to another X server
LIB_DEPENDS= libdrm.so:${PORTSDIR}/graphics/libdrm \
+ libfltk.so:${PORTSDIR}/x11-toolkits/fltk \
libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
- libturbojpeg.so:${PORTSDIR}/graphics/libjpeg-turbo
+ libturbojpeg.so:${PORTSDIR}/graphics/libjpeg-turbo \
+ libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms
# due to the libjpeg-turbo requirement
ONLY_FOR_ARCHS= amd64 i386
@@ -21,11 +22,14 @@ ONLY_FOR_ARCHS= amd64 i386
CMAKE_INSTALL_PREFIX= ${LOCALBASE}/VirtualGL
DOCSDIR= ${LOCALBASE}/VirtualGL/doc
-USES= cmake
-USE_GL= glu
+USES= cmake compiler:c++11-lang
+USE_GL= gl glu
USE_XORG= x11 xau xcb xdamage xdmcp xext xfixes xxf86vm
-CMAKE_ARGS= -DTJPEG_INCLUDE_DIR=${LOCALBASE}/include -DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so
+CMAKE_ARGS= -DTJPEG_INCLUDE_DIR=${LOCALBASE}/include\
+ -DTJPEG_LIBRARY=${LOCALBASE}/lib/libturbojpeg.so\
+ -DVGL_FAKEXCB=on -DVGL_SYSTEMFLTK=on -DVGL_SYSTEMGLX=on
USE_LDCONFIG= ${PREFIX}/VirtualGL/fakelib ${PREFIX}/VirtualGL/lib
+LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>