76e5273624
* Depend on libelf on DragonFly * Rework the vdpau support code and enable vdpau for DragonFly, FreeBSD doesn't support it just yet. * Revert commit that removed support for non-render nodes. Neither FreeBSD nor DragonFly supports render nodes at this time. * Fix LDFLAGS to work with GCC5, which DragonFly uses by default. * Update Makefile.targets: ffast-math isn't used since 8.0.3, don't replace x86_64 with amd64 on Dragonfly. Drop obsolete python disable replace.
38 lines
925 B
Makefile
38 lines
925 B
Makefile
# Created by: Eric Anholt <anholt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dri
|
|
PORTVERSION= ${MESAVERSION}
|
|
PORTEPOCH= 2
|
|
CATEGORIES= graphics
|
|
|
|
COMMENT= OpenGL hardware acceleration drivers for the DRI
|
|
|
|
LIB_DEPENDS= libdrm.so:${PORTSDIR}/graphics/libdrm \
|
|
libexpat.so:${PORTSDIR}/textproc/expat2
|
|
|
|
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto \
|
|
presentproto xvmc xshmfence
|
|
|
|
OPTIONS_DEFINE= TEXTURE
|
|
OPTIONS_DEFAULT=TEXTURE
|
|
|
|
TEXTURE_DESC= Enable texture-float support (patent encumbered)
|
|
VDPAU_DESC= VDPAU (GPU video acceleration) support (needs Gallium)
|
|
|
|
PKGHELP= ${.CURDIR}/pkg-help
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.include "${.CURDIR}/../../graphics/libGL/Makefile.common"
|
|
|
|
#src/mesa/libmesagallium.la
|
|
#MESA_BUILD_WRKSRC= src/util src/gallium
|
|
#MESA_INSTALL_WRKSRC= src/gallium
|
|
|
|
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
|
|
|
|
post-install:
|
|
@${RM} -rf ${STAGEDIR}/etc/OpenCL
|
|
|
|
.include <bsd.port.mk>
|