svn commit: r556678 - head/cad/opencascade

Thierry Thomas thierry at freebsd.org
Mon Nov 30 22:04:03 UTC 2020


Le lun. 30 nov. 20 à 22:36:14 +0100, Jan Beich <jbeich at FreeBSD.org>
 écrivait :

> >  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

Thanks Jan!
-- 
Th. Thomas.


More information about the svn-ports-all mailing list