mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
c951967af7
and libglesv2. This fixes undefined symbol issues in libglesv2. Clean up stagedir of unwanted files/directories, so check-plist passes. Switch logic and always build gallium support in graphics/dri on i386 and amd64. Gallium is used for Radeon HD 5000+ support. Use USES=tar:bzip2 Under WITH_NEW_XORG: Add patch to remove some dependencies for aclocal.m4 which are absent. This allows the removal of USE_AUTOTOOLS, REAPPLY_PATCHES and pre-configure target. Add INSTALL_TARGET=install-strip to strip libraries. USES=libtool:keepla Fix a /use typo with /usr in post-patch. Bump PORTREVISION for the libtool and libglapi changes. Submitted by: tijl@ (libtool and autotools changes) Obtained from: xorg-dev repo (libglapi and gallium changes)
31 lines
742 B
Makefile
31 lines
742 B
Makefile
# Created by: kwm@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libEGL
|
|
PORTVERSION= ${MESAVERSION}
|
|
PORTREVISION= 2
|
|
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>
|