aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2006-06-29 22:19:24 +0800
committeranholt <anholt@FreeBSD.org>2006-06-29 22:19:24 +0800
commit4afce8fa2929ffbea3f74f6d3c5027b7c2f61871 (patch)
tree22e1a5d0b5ee64de1b54da7df1c1b0225b1d134f
parent1ea9532c24b406ddc9c49e0ba52faca2cd201fea (diff)
downloadfreebsd-ports-gnome-4afce8fa2929ffbea3f74f6d3c5027b7c2f61871.tar.gz
freebsd-ports-gnome-4afce8fa2929ffbea3f74f6d3c5027b7c2f61871.tar.zst
freebsd-ports-gnome-4afce8fa2929ffbea3f74f6d3c5027b7c2f61871.zip
Fix build with custom CFLAGS not terminated by a space.
PR: ports/99495 Submitted by: Artem Naluzhny <tut@nhamon.com.ua>
-rw-r--r--graphics/dri-devel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/dri-devel/Makefile b/graphics/dri-devel/Makefile
index b71ee2a15428..d82e1a4e96c2 100644
--- a/graphics/dri-devel/Makefile
+++ b/graphics/dri-devel/Makefile
@@ -51,7 +51,7 @@ pre-patch:
-e 's|/usr/local|${LOCALBASE}|g' \
-e 's|gcc|${CC}|g' \
-e 's|g++|${CXX}|g' \
- -e 's|CFLAGS = |CFLAGS = ${CFLAGS}|g' \
+ -e 's|CFLAGS = |CFLAGS = ${CFLAGS} |g' \
-e 's|OPT_FLAGS = .*|OPT_FLAGS = ${CFLAGS}|g' \
-e 's|-pthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configs/freebsd-dri