1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Fix build with custom CFLAGS not terminated by a space.

PR:		ports/99495
Submitted by:	Artem Naluzhny <tut@nhamon.com.ua>
This commit is contained in:
Eric Anholt 2006-06-29 14:19:24 +00:00
parent f23c4e9607
commit 5e0bae0b16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166599

View File

@ -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