1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Collapse the EGL option into the OPENGL option.

The build fails if EGL is selected but OPENGL isn't.
This commit is contained in:
Koop Mast 2015-08-06 07:50:29 +00:00
parent e782507e7f
commit 5a8f50c9e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393636
2 changed files with 5 additions and 8 deletions

View File

@ -38,18 +38,15 @@ CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \
--disable-wgl \
--enable-tee
OPTIONS_DEFINE= OPENGL XCB GLIB X11 EGL
OPTIONS_DEFAULT=OPENGL XCB GLIB X11 EGL
OPTIONS_DEFINE= OPENGL XCB GLIB X11
OPTIONS_DEFAULT=OPENGL XCB GLIB X11
XCB_DESC= Enable XCB (X C-language Binding) Support
GLIB_DESC= Enable GObject Functions Feature
EGL_DESC= 2D/3D rendering support via EGL
OPTIONS_SUB= yes
X11_USE= xorg=xrender,xext
X11_CONFIGURE_ENABLE=xlib
OPENGL_USE= gl=gl xorg=glproto:both,dri2proto:both
OPENGL_CONFIGURE_ENABLE=gl
EGL_USE= gl=egl
EGL_CONFIGURE_ENABLE=egl
OPENGL_USE= gl=gl,egl xorg=glproto:both,dri2proto:both
OPENGL_CONFIGURE_ENABLE=gl egl
GLIB_USE= gnome=glib20
GLIB_CONFIGURE_ENABLE= gobject
XCB_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:${PORTSDIR}/x11/xcb-util-renderutil

View File

@ -41,7 +41,7 @@ lib/libcairo.so
lib/libcairo.so.2
lib/libcairo.so.%%LIBVER%%
libdata/pkgconfig/cairo.pc
%%EGL%%libdata/pkgconfig/cairo-egl.pc
%%OPENGL%%libdata/pkgconfig/cairo-egl.pc
libdata/pkgconfig/cairo-fc.pc
libdata/pkgconfig/cairo-ft.pc
%%OPENGL%%libdata/pkgconfig/cairo-gl.pc