FreeBSD Bugzilla – Attachment 196278 Details for
Bug 230692
[exp-run] change USE_GL to USES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
switch to USES=gl, rev 1
ports.usesgl.svn.diff (text/plain), 3.31 KB, created by
Niclas Zeising
on 2018-08-17 12:22:17 UTC
(
hide
)
Description:
switch to USES=gl, rev 1
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2018-08-17 12:22:17 UTC
Size:
3.31 KB
patch
obsolete
>Index: Mk/Uses/gl.mk >=================================================================== >--- Mk/Uses/gl.mk (nonexistent) >+++ Mk/Uses/gl.mk (working copy) >@@ -0,0 +1,42 @@ >+# $FreeBSD$ >+# >+# Use OpenGL and related libraries and ports >+# >+# Feature: gl >+# Usage: USES=gl:componet:[argument] >+# >+# MAINTAINER: x11@FreeBSD.org >+ >+.if !defined(_INCLUDE_USES_GL_MK) >+_INCLUDE_USES_GL_MK=yes >+ >+_GL_gbm_LIB_DEPENDS= libgbm.so:graphics/mesa-libs >+_GL_glesv2_LIB_DEPENDS= libGLESv2.so:graphics/mesa-libs >+_GL_egl_LIB_DEPENDS= libEGL.so:graphics/mesa-libs >+_GL_gl_LIB_DEPENDS= libGL.so:graphics/mesa-libs >+_GL_gl_USE_XORG= xorgproto >+_GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew >+_GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU >+_GL_glu_USE_XORG= xorgproto >+_GL_glw_LIB_DEPENDS= libGLw.so:graphics/libGLw >+_GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut >+ >+.if !empty(gl_ARGS) >+IGNORE= USES=gl takes no arguments >+.endif >+ >+.if !defined(USE_GL) || ${USE_GL:tl} == "yes" >+USE_GL= gl >+.endif >+ >+.for _component in ${USE_GL} >+.if !defined(_GL_${_component}_LIB_DEPENDS) >+IGNORE= uses unknown GL component >+.else >+USE_XORG+= ${_GL_${_component}_USE_XORG} >+LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} >+.endif >+.endfor >+ >+# _INCLUDE_USES_GL_MK >+.endif >Index: Mk/bsd.port.mk >=================================================================== >--- Mk/bsd.port.mk (revision 477419) >+++ Mk/bsd.port.mk (working copy) >@@ -365,7 +365,7 @@ > ## > # USE_GL - A list of Mesa or GL related dependencies needed by the port. > # Supported components are: egl, glesv2, glut, glu, glw, and gl. >-# If set to "yes", this is equivalent to "glu". Note that >+# If set to "yes", this is equivalent to "gl". Note that > # glew and glut depend on glu, glw and glu depend on gl. > ## > # USE_SDL - If set, this port uses the sdl libraries. >@@ -1424,6 +1424,10 @@ > USES+= mate > .endif > >+.if defined(USE_GL) >+USES+= gl >+.endif >+ > .if defined(USE_MYSQL) > USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} > .if defined(WANT_MYSQL_VER) >@@ -1888,36 +1892,6 @@ > > PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' > >-_GL_gbm_LIB_DEPENDS= libgbm.so:graphics/mesa-libs >-_GL_glesv2_BUILD_DEPENDS= ${LOCALBASE}/lib/libGLESv2.so:graphics/mesa-libs >-_GL_glesv2_RUN_DEPENDS= ${LOCALBASE}/lib/libGLESv2.so:graphics/mesa-libs >-_GL_egl_BUILD_DEPENDS= ${LOCALBASE}/lib/libEGL.so:graphics/mesa-libs >-_GL_egl_RUN_DEPENDS= ${LOCALBASE}/lib/libEGL.so:graphics/mesa-libs >-_GL_gl_BUILD_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/mesa-libs >-_GL_gl_RUN_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/mesa-libs >-_GL_gl_USE_XORG= xorgproto >-_GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew >-_GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU >-_GL_glu_USE_XORG= xorgproto >-_GL_glw_LIB_DEPENDS= libGLw.so:graphics/libGLw >-_GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut >-.if defined(USE_GL) >-. if ${USE_GL:tl} == "yes" >-USE_GL= glu >-. endif >-. for _component in ${USE_GL} >-. if !defined(_GL_${_component}_LIB_DEPENDS) && \ >- !defined(_GL_${_component}_RUN_DEPENDS) >-IGNORE= uses unknown GL component >-. else >-USE_XORG+= ${_GL_${_component}_USE_XORG} >-BUILD_DEPENDS+= ${_GL_${_component}_BUILD_DEPENDS} >-LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} >-RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS} >-. endif >-. endfor >-.endif >- > .if defined(_DESTDIR_VIA_ENV) > MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} > .else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230692
: 196278