diff options
-rw-r--r-- | graphics/libEGL/Makefile | 11 |
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> |