mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
92ea0d614b
an zeising, kwm, miwi, bapt, eadler production: Xorg 7.7 Starring: xserver 1.12.4 (new xorg only) Mesa 8.0.4, including libGL, libGLU and dri (new xorg only) libX11 1.5.0 libxcb 1.9 libdrm 2.4.42 (new xorg only) freeglut 2.8.1 Also starring: Updates to drivers and other libraries and utilities Additional notes: Change pkgconf to be a build dependency. Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use this. Trim makefile headers. Take maintanership of x11/xcb-proto, ok'd by ashish. If you are running WITH_NEW_XORG=, you need to rebuild all installed drivers, see UPDATING for more information. Various fixes to make ports compile. PR: ports/177942 Exp-run by: miwi Approved by: portmgr (miwi) Thanks to all who helped testing!
35 lines
774 B
Makefile
35 lines
774 B
Makefile
# Created by: Eric Anholt <anholt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libGL
|
|
PORTVERSION= ${MESAVERSION}
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
|
|
COMMENT= OpenGL library that renders using GLX or DRI
|
|
|
|
LIB_DEPENDS+= drm:${PORTSDIR}/graphics/libdrm \
|
|
expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
USES= pkgconfig
|
|
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto:both
|
|
|
|
SUB_FILES= pkg-install pkg-deinstall
|
|
|
|
do-install:
|
|
${RM} -f ${WRKSRC}/include/GL/glu*.h
|
|
cd ${WRKSRC}/src/mesa; ${GMAKE} install-libgl
|
|
|
|
post-install:
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include "${.CURDIR}/bsd.mesalib.mk"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !(${ARCH} == "amd64" || ${ARCH} == "i386")
|
|
CONFIGURE_ARGS+=--disable-gallium-intel
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|