blob: 4dd4381cbcf427a3b7de5bcdaa7fd1f4538ccc32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: kwm@FreeBSD.org
# $FreeBSD$
PORTNAME= libglesv2
PORTVERSION= ${MESAVERSION}
CATEGORIES= graphics
COMMENT= OpenGL ES v2 library
LIB_DEPENDS+= libdrm.so:${PORTSDIR}/graphics/libdrm \
libexpat.so:${PORTSDIR}/textproc/expat2
.if ! defined(WITH_NEW_XORG)
IGNORE= Please enable WITH_NEW_XORG, libglesv2 needs libdrm higher then 2.4.24
.endif
# stuff not needed by libEGL but configure wants it
USE_XORG+= glproto dri2proto xext xdamage xfixes
BUILD_WKRSRC= ${WRKSRC}/src/mapi/es2api
INSTALL_WRKSRC= ${WRKSRC}/src/mapi/es2api
NO_STAGE= yes
# this library doesn't exist in Mesa 7.6 so use newer
WITH_NEW_XORG=yes
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
.include <bsd.port.mk>
|