summaryrefslogtreecommitdiff
path: root/graphics/libGL/Makefile
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2007-06-22 18:21:20 +0000
committerEric Anholt <anholt@FreeBSD.org>2007-06-22 18:21:20 +0000
commit265d63bee96399248c323502af97e99eadcf9ea1 (patch)
tree2f5a08b0a4b3fcae5ae0e4e25a9040eeefd3288c /graphics/libGL/Makefile
parent- Remove unneeded USE_GCC, turns out the build didnt respect it anyway. (diff)
Fix the PTHREAD_LIBS substitution for this version of mesa.
Notes
Notes: svn path=/head/; revision=194090
Diffstat (limited to '')
-rw-r--r--graphics/libGL/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libGL/Makefile b/graphics/libGL/Makefile
index 5ef80b220e53..9e385e78e322 100644
--- a/graphics/libGL/Makefile
+++ b/graphics/libGL/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= libGL
PORTVERSION?= 6.5.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/
@@ -40,7 +40,7 @@ pre-patch:
-e 's|g++|${CXX}|g' \
-e 's|CFLAGS = |CFLAGS = ${CFLAGS} |g' \
-e 's|OPT_FLAGS = .*|OPT_FLAGS = ${CFLAGS}|g' \
- -e 's|-pthread|${PTHREAD_LIBS}|g' \
+ -e 's|-lpthread|${PTHREAD_LIBS}|g' \
-e 's|SRC_DIRS = .*|SRC_DIRS = glx/x11|g' \
${WRKSRC}/configs/freebsd-dri
@${REINPLACE_CMD} \