summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-21 12:16:18 +0000
committerarved <arved@FreeBSD.org>2003-11-21 12:16:18 +0000
commit3ca06aa7dc9a7a0498a46693ce8919edd0270a28 (patch)
tree15a7d17cfd8be05268a30c38d410466103fa5dc4 /games
parentb10c907b076fe87edd63ffe7a1d1f004e3711dc8 (diff)
downloadFreeBSD-ports-3ca06aa7dc9a7a0498a46693ce8919edd0270a28.zip
FreeBSD-ports-3ca06aa7dc9a7a0498a46693ce8919edd0270a28.tar.gz
Respect CFLAGS, should fix build on alpha
Diffstat (limited to 'games')
-rw-r--r--games/bsp/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/bsp/Makefile b/games/bsp/Makefile
index 0012d5f..fc0b6f6 100644
--- a/games/bsp/Makefile
+++ b/games/bsp/Makefile
@@ -15,6 +15,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Node builder for Doom
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,-O2 -fomit-frame-pointer -ffast-math,${CFLAGS}," \
+ ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bsp ${PREFIX}/bin
OpenPOWER on IntegriCloud