aboutsummaryrefslogtreecommitdiff
path: root/games/quakeforge
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-26 14:19:23 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-26 14:19:23 +0000
commit9fe6a753aa4b61056398270307d782a2b4a2ed13 (patch)
treee93243d6586570d89ccad657c098b3bbd7cc94e8 /games/quakeforge
parent6a73ce4a3de5b68cbc619c4f6e83e0996e8ca73d (diff)
downloadports-9fe6a753aa4b61056398270307d782a2b4a2ed13.tar.gz
ports-9fe6a753aa4b61056398270307d782a2b4a2ed13.zip
Unbreak games/quakeforge on 5.1/alpha
PR: 53757 Submitted by: Ulrich Spoerlein <q@uni.de> (mainttainer)
Notes
Notes: svn path=/head/; revision=83661
Diffstat (limited to 'games/quakeforge')
-rw-r--r--games/quakeforge/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index 7a87c6faebf4..229c0049bc9c 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -25,7 +25,7 @@ DISTFILES+= ${SKINFILES:S/$/:skins/}
.endif
MAINTAINER= q@uni.de
-COMMENT= Cleaned up copy of the GPL'd Quake 1 source code
+COMMENT= Cleaned up copy of the GPLd Quake 1 source code
WADFILE= quakesw-1.0.6.tar.gz
PROGFILE= qwsv-2.30-glibc-i386-unknown-linux2.0.tar.gz
@@ -34,6 +34,7 @@ SKINFILES= skinbase.zip qw_skins.zip
USE_LIBTOOL= yes
USE_GMAKE= yes
USE_XLIB= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
@@ -168,6 +169,11 @@ pre-everything::
@${ECHO_MSG} "Define WITHOUT_CLIENTS to disable building of the clients"
.endif
+post-patch:
+.if (${ARCH} == "alpha")
+ @${REINPLACE_CMD} -e 's/-ffast-math//' ${WRKSRC}/configure
+.endif
+
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
@@ -197,6 +203,6 @@ do-install:
.endif
post-install:
- @${CAT} ${PKGMESSAGE} | ${SED} -e 's#$${PREFIX}#${PREFIX}#g'
+ @${SED} -e 's#$${PREFIX}#${PREFIX}#g' ${PKGMESSAGE}
.include <bsd.port.post.mk>