ports/53757: [Maintainer] Unbreak games/quakeforge on 5.1/alpha
Ulrich Spoerlein
q at uni.de
Thu Jun 26 10:20:28 UTC 2003
>Number: 53757
>Category: ports
>Synopsis: [Maintainer] Unbreak games/quakeforge on 5.1/alpha
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 26 03:20:22 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Ulrich Spoerlein
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD roadrunner 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Jun 15 17:42:41 CEST 2003 root at coyote:/usr/obj/usr/src/sys/ROADRUNNER i386
>Description:
- Unbreak Quakeforge on Alpha
- Change COMMENT, so it doesn't b0rk vims syntax highlighting (this is annoying)
- Remove useless use of cat
- Not tested on -STABLE, but should work nevertheless
Note: There are still some alignment issues, but it builds and some clients/servers
are actually usable.
>How-To-Repeat:
>Fix:
--- Makefile 28 Mar 2003 10:15:55 -0000 1.34
+++ Makefile 26 Jun 2003 10:08:45 -0000
@@ -25,7 +25,7 @@
.endif
MAINTAINER= q at 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 @@
USE_LIBTOOL= yes
USE_GMAKE= yes
USE_XLIB= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
@@ -168,6 +169,11 @@
@${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 @@
.endif
post-install:
- @${CAT} ${PKGMESSAGE} | ${SED} -e 's#$${PREFIX}#${PREFIX}#g'
+ @${SED} -e 's#$${PREFIX}#${PREFIX}#g' ${PKGMESSAGE}
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list