aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-06-26 22:19:23 +0800
committerdaichi <daichi@FreeBSD.org>2003-06-26 22:19:23 +0800
commit9cad83fa3b0c310a1d99ada5c50032508940a89b (patch)
tree77d120197a96f5244016eb228de1c1bcef9ff491
parent80e231f233012dd98a24483026019f58150b3f6f (diff)
downloadfreebsd-ports-gnome-9cad83fa3b0c310a1d99ada5c50032508940a89b.tar.gz
freebsd-ports-gnome-9cad83fa3b0c310a1d99ada5c50032508940a89b.tar.zst
freebsd-ports-gnome-9cad83fa3b0c310a1d99ada5c50032508940a89b.zip
Unbreak games/quakeforge on 5.1/alpha
PR: 53757 Submitted by: Ulrich Spoerlein <q@uni.de> (mainttainer)
-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>