summaryrefslogtreecommitdiff
path: root/games/gnurobots/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnurobots/Makefile')
-rw-r--r--games/gnurobots/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/gnurobots/Makefile b/games/gnurobots/Makefile
index b7f15eadb739..0f6c84a70ec1 100644
--- a/games/gnurobots/Makefile
+++ b/games/gnurobots/Makefile
@@ -18,10 +18,9 @@ LIB_DEPENDS= guile.21:${PORTSDIR}/lang/guile
USE_GNOME= vte
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure