aboutsummaryrefslogtreecommitdiffstats
path: root/games/race
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-07-25 20:24:09 +0800
committerpav <pav@FreeBSD.org>2008-07-25 20:24:09 +0800
commite3b31366702ca258f6d6ffde4be5684ce7083f2c (patch)
treef06f7152ec73cff1da1d55ed8fb1cbbec58110f9 /games/race
parent416754ba19d48426d074519ec04ce7a38f75dd62 (diff)
downloadfreebsd-ports-gnome-e3b31366702ca258f6d6ffde4be5684ce7083f2c.tar.gz
freebsd-ports-gnome-e3b31366702ca258f6d6ffde4be5684ce7083f2c.tar.zst
freebsd-ports-gnome-e3b31366702ca258f6d6ffde4be5684ce7083f2c.zip
- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
Diffstat (limited to 'games/race')
-rw-r--r--games/race/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/race/Makefile b/games/race/Makefile
index 045019b5dfd9..21c2f6095c34 100644
--- a/games/race/Makefile
+++ b/games/race/Makefile
@@ -19,7 +19,8 @@ USE_SDL= mixer image sdl
USE_BZIP2= yes
USE_GL= glut
CFLAGS+= "-I${LOCALBASE}/include"
-MAKE_ENV= CC="${CC} ${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CC+= ${CFLAGS}
+MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
post-patch:
@${REINPLACE_CMD} -e "s|^CC|#CC|g" \