From 8d4efb65d1a11aab6e9dfb7b2c818fa6f9258d27 Mon Sep 17 00:00:00 2001 From: antoine Date: Thu, 13 Mar 2014 18:35:28 +0000 Subject: 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@ --- graphics/libEGL/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'graphics') 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 + +.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 -- cgit