aboutsummaryrefslogtreecommitdiff
path: root/games/bsp
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-11-21 12:16:18 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-11-21 12:16:18 +0000
commit0e3bd51aeabbd28adb9e298eb8aecd352f3dd8f3 (patch)
treef787ca659e38081ebc26f3577638446c731b7794 /games/bsp
parente1f82681c76ad11a7d399623aa8ba421f891e91e (diff)
downloadports-0e3bd51aeabbd28adb9e298eb8aecd352f3dd8f3.tar.gz
ports-0e3bd51aeabbd28adb9e298eb8aecd352f3dd8f3.zip
Respect CFLAGS, should fix build on alpha
Notes
Notes: svn path=/head/; revision=94634
Diffstat (limited to 'games/bsp')
-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