aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-10-01 13:26:24 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-10-01 13:26:24 +0000
commitaefea3c684377c9494f006a2083b53d05fe675ef (patch)
tree781dd44121381668bf3d07cf7d3452353444b917 /graphics
parent727af3cbb0f85b0a94cb629024c841643ba0d9fa (diff)
downloadports-aefea3c684377c9494f006a2083b53d05fe675ef.tar.gz
ports-aefea3c684377c9494f006a2083b53d05fe675ef.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opencv/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index 990da6d034eb..b163ea4be6d0 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -90,6 +90,8 @@ NONFREE_CMAKE_BOOL= BUILD_opencv_nonfree
OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR
OPENEXR_CMAKE_BOOL= WITH_OPENEXR
+OPENGL_LIB_DEPENDS= ${PORT_OPTIONS:MGTK2:C,.+,libgtkglext-x11-1.0.so:x11-toolkits/gtkglext,}
+OPENGL_USE= ${PORT_OPTIONS:MQT4:S,$,=opengl,}
OPENGL_CMAKE_BOOL= WITH_OPENGL
PNG_LIB_DEPENDS= libpng.so:graphics/png
@@ -121,14 +123,6 @@ TBB_DESC= TBB support
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MOPENGL}
-LIB_DEPENDS+= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
-.endif
-
-.if ${PORT_OPTIONS:MQT4} && ${PORT_OPTIONS:MOPENGL}
-USE_QT4+= opengl
-.endif
-
.if ${PORT_OPTIONS:MSIMD}
. if ${MACHINE_CPU:Msse}
CMAKE_ARGS+= -DENABLE_SSE:BOOL=On