aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-03-14 02:35:28 +0800
committerantoine <antoine@FreeBSD.org>2014-03-14 02:35:28 +0800
commit8d4efb65d1a11aab6e9dfb7b2c818fa6f9258d27 (patch)
treebc147dd7c4e6b98d8a6481da61782ec8645806dd /graphics
parenta42434d531f5bf2ddd44056fcdc20102fe3754ea (diff)
downloadfreebsd-ports-gnome-8d4efb65d1a11aab6e9dfb7b2c818fa6f9258d27.tar.gz
freebsd-ports-gnome-8d4efb65d1a11aab6e9dfb7b2c818fa6f9258d27.tar.zst
freebsd-ports-gnome-8d4efb65d1a11aab6e9dfb7b2c818fa6f9258d27.zip
Fix WITH_NEW_XORG check, it has to be done after bsd.port.options.mk or
bsd.port.pre.mk is included for it to be default for 11 users Silence from: x11@
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libEGL/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/libEGL/Makefile b/graphics/libEGL/Makefile
index 902f510850fa..288bafc38c27 100644
--- a/graphics/libEGL/Makefile
+++ b/graphics/libEGL/Makefile
@@ -9,10 +9,6 @@ COMMENT= OpenEGL library
LIB_DEPENDS+= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
-.if ! defined(WITH_NEW_XORG)
-IGNORE= Please enable WITH_NEW_XORG, libEGL needs libdrm higher then 2.4.24
-.endif
-
USE_XORG= x11 xau xcb xdmcp
# stuff not needed by libEGL but configure wants it
@@ -23,8 +19,11 @@ LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 \
BUILD_WRKSRC= ${WRKSRC}/src/egl
INSTALL_WRKSRC= ${WRKSRC}/src/egl
-WITH_NEW_XORG= yes
-
.include <bsd.port.options.mk>
+
+.if ! defined(WITH_NEW_XORG)
+IGNORE= Please enable WITH_NEW_XORG, libEGL needs libdrm higher then 2.4.24
+.endif
+
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
.include <bsd.port.mk>