aboutsummaryrefslogtreecommitdiffstats
path: root/games/bsp/Makefile
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-21 20:16:18 +0800
committerarved <arved@FreeBSD.org>2003-11-21 20:16:18 +0800
commit3ca06aa7dc9a7a0498a46693ce8919edd0270a28 (patch)
tree15a7d17cfd8be05268a30c38d410466103fa5dc4 /games/bsp/Makefile
parentb10c907b076fe87edd63ffe7a1d1f004e3711dc8 (diff)
downloadfreebsd-ports-gnome-3ca06aa7dc9a7a0498a46693ce8919edd0270a28.tar.gz
freebsd-ports-gnome-3ca06aa7dc9a7a0498a46693ce8919edd0270a28.tar.zst
freebsd-ports-gnome-3ca06aa7dc9a7a0498a46693ce8919edd0270a28.zip
Respect CFLAGS, should fix build on alpha
Diffstat (limited to 'games/bsp/Makefile')
-rw-r--r--games/bsp/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/bsp/Makefile b/games/bsp/Makefile
index 0012d5feeb78..fc0b6f676726 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