Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2020 22:36:14 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Thierry Thomas <thierry@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r556678 - head/cad/opencascade
Message-ID:  <8sai-a5o1-wny@FreeBSD.org>
In-Reply-To: <202011302103.0AUL3Z3H035260@repo.freebsd.org> (Thierry Thomas's message of "Mon, 30 Nov 2020 21:03:35 %2B0000 (UTC)")
References:  <202011302103.0AUL3Z3H035260@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thierry Thomas <thierry@FreeBSD.org> writes:

>  VIS_LIB_DEPENDS=	libftgl.so:graphics/ftgl	\
> -			libGLESv2.so:graphics/mesa-libs	\
>  			libfreeimageplus.so:graphics/freeimage
> +VIS_USES=		gl:glesv2

Specifying USES=<whatever> more than once is not supported, see
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199603

However, after deduping USES=gl it shows:

$ make
===>  opencascade-7.5.0 USES=gl takes no arguments.
*** Error code 1

diff --git cad/opencascade/Makefile cad/opencascade/Makefile
index 57ce15289889..230be0ca1d87 100644
--- cad/opencascade/Makefile
+++ cad/opencascade/Makefile
@@ -85,7 +85,7 @@ VIS_CMAKE_OFF=		-DUSE_FREEIMAGE:BOOL=OFF	\
 			-DUSE_GLES2:BOOL=OFF
 VIS_LIB_DEPENDS=	libftgl.so:graphics/ftgl	\
 			libfreeimageplus.so:graphics/freeimage
-VIS_USES=		gl:glesv2
+VIS_USE=		GL=glesv2
 
 DOXYGEN_IMPLIES=	DOCS
 DOXYGEN_USE=	TEX=latex:build



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8sai-a5o1-wny>