Lines 365-371
Link Here
|
365 |
## |
365 |
## |
366 |
# USE_GL - A list of Mesa or GL related dependencies needed by the port. |
366 |
# USE_GL - A list of Mesa or GL related dependencies needed by the port. |
367 |
# Supported components are: egl, glesv2, glut, glu, glw, and gl. |
367 |
# Supported components are: egl, glesv2, glut, glu, glw, and gl. |
368 |
# If set to "yes", this is equivalent to "glu". Note that |
368 |
# If set to "yes", this is equivalent to "gl". Note that |
369 |
# glew and glut depend on glu, glw and glu depend on gl. |
369 |
# glew and glut depend on glu, glw and glu depend on gl. |
370 |
## |
370 |
## |
371 |
# USE_SDL - If set, this port uses the sdl libraries. |
371 |
# USE_SDL - If set, this port uses the sdl libraries. |
Lines 1424-1429
Link Here
|
1424 |
USES+= mate |
1424 |
USES+= mate |
1425 |
.endif |
1425 |
.endif |
1426 |
|
1426 |
|
|
|
1427 |
.if defined(USE_GL) |
1428 |
USES+= gl |
1429 |
.endif |
1430 |
|
1427 |
.if defined(USE_MYSQL) |
1431 |
.if defined(USE_MYSQL) |
1428 |
USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} |
1432 |
USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} |
1429 |
.if defined(WANT_MYSQL_VER) |
1433 |
.if defined(WANT_MYSQL_VER) |
Lines 1888-1923
Link Here
|
1888 |
|
1892 |
|
1889 |
PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' |
1893 |
PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' |
1890 |
|
1894 |
|
1891 |
_GL_gbm_LIB_DEPENDS= libgbm.so:graphics/mesa-libs |
|
|
1892 |
_GL_glesv2_BUILD_DEPENDS= ${LOCALBASE}/lib/libGLESv2.so:graphics/mesa-libs |
1893 |
_GL_glesv2_RUN_DEPENDS= ${LOCALBASE}/lib/libGLESv2.so:graphics/mesa-libs |
1894 |
_GL_egl_BUILD_DEPENDS= ${LOCALBASE}/lib/libEGL.so:graphics/mesa-libs |
1895 |
_GL_egl_RUN_DEPENDS= ${LOCALBASE}/lib/libEGL.so:graphics/mesa-libs |
1896 |
_GL_gl_BUILD_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/mesa-libs |
1897 |
_GL_gl_RUN_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/mesa-libs |
1898 |
_GL_gl_USE_XORG= xorgproto |
1899 |
_GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew |
1900 |
_GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU |
1901 |
_GL_glu_USE_XORG= xorgproto |
1902 |
_GL_glw_LIB_DEPENDS= libGLw.so:graphics/libGLw |
1903 |
_GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut |
1904 |
.if defined(USE_GL) |
1905 |
. if ${USE_GL:tl} == "yes" |
1906 |
USE_GL= glu |
1907 |
. endif |
1908 |
. for _component in ${USE_GL} |
1909 |
. if !defined(_GL_${_component}_LIB_DEPENDS) && \ |
1910 |
!defined(_GL_${_component}_RUN_DEPENDS) |
1911 |
IGNORE= uses unknown GL component |
1912 |
. else |
1913 |
USE_XORG+= ${_GL_${_component}_USE_XORG} |
1914 |
BUILD_DEPENDS+= ${_GL_${_component}_BUILD_DEPENDS} |
1915 |
LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} |
1916 |
RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS} |
1917 |
. endif |
1918 |
. endfor |
1919 |
.endif |
1920 |
|
1921 |
.if defined(_DESTDIR_VIA_ENV) |
1895 |
.if defined(_DESTDIR_VIA_ENV) |
1922 |
MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} |
1896 |
MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} |
1923 |
.else |
1897 |
.else |