freebsd-ports/graphics/libEGL/Makefile
Antoine Brodin 94d84a2d15 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@
2014-03-13 18:35:28 +00:00

29 lines
727 B
Makefile

# Created by: kwm@FreeBSD.org
# $FreeBSD$
PORTNAME= libEGL
PORTVERSION= ${MESAVERSION}
CATEGORIES= graphics
COMMENT= OpenEGL library
LIB_DEPENDS+= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
USE_XORG= x11 xau xcb xdmcp
# stuff not needed by libEGL but configure wants it
USE_XORG+= glproto dri2proto xext xdamage xfixes
LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 \
libdrm.so:${PORTSDIR}/graphics/libdrm
BUILD_WRKSRC= ${WRKSRC}/src/egl
INSTALL_WRKSRC= ${WRKSRC}/src/egl
.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>