aboutsummaryrefslogtreecommitdiff
path: root/x11/libGL
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-07-07 22:05:09 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-07-07 22:05:09 +0000
commitcb2fdec4f6ac66f9d03e7ea4ca7dba5f5d101ac6 (patch)
tree89a51a29d08b0fa61477f25ecd0b177b4b50bbca /x11/libGL
parenta9911f8a953e2b5a77e772f21fde150c829b8fe7 (diff)
downloadports-cb2fdec4f6ac66f9d03e7ea4ca7dba5f5d101ac6.tar.gz
ports-cb2fdec4f6ac66f9d03e7ea4ca7dba5f5d101ac6.zip
Notes
Diffstat (limited to 'x11/libGL')
-rw-r--r--x11/libGL/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/libGL/Makefile b/x11/libGL/Makefile
index 3d94cbb4f88a..b0fa28c7381e 100644
--- a/x11/libGL/Makefile
+++ b/x11/libGL/Makefile
@@ -18,18 +18,22 @@ COMMENT= OpenGL library that renders using GLX or DRI
LIB_DEPENDS= Xxf86vm.1:${PORTSDIR}/x11/libXxf86
-BROKEN= Build fails
-
CONFLICTS= XFree86-libraries-*
EXTRA_PATCHES= ${CF_PATCHES}
+PREFIX?= ${X11BASE}
XBUILD_DIRS= lib/GL
GLHEADERS= gl.h glext.h glx.h glxext.h glxint.h glxmd.h glxproto.h \
glxtokens.h
INSTALLS_SHLIB= yes
USE_GNOME= pkgconfig
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500043
+BROKEN= Requires libXThrStub, which should be part of libX11
+.endif
+
post-extract:
(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/X11R6.7.0-src3.tar.gz | \
@@ -42,4 +46,4 @@ post-install:
.endfor
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>