Unbreak games/quakeforge on 5.1/alpha

PR:		53757
Submitted by:	Ulrich Spoerlein <q@uni.de> (mainttainer)
This commit is contained in:
Daichi GOTO 2003-06-26 14:19:23 +00:00
parent 6a73ce4a3d
commit 9fe6a753aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83661

View file

@ -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>