aboutsummaryrefslogtreecommitdiffstats
path: root/games/xracer
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-09-28 09:53:59 +0800
committerkris <kris@FreeBSD.org>2004-09-28 09:53:59 +0800
commit5e26b9302f0eed3796020dcfe343e97dd568ef62 (patch)
treeeb010f1b15f6dd59c6addcb627bb5c914c2b1ef0 /games/xracer
parent42c70df352b7e477a20ed93a2fe3fac81d351eb0 (diff)
downloadfreebsd-ports-gnome-5e26b9302f0eed3796020dcfe343e97dd568ef62.tar.gz
freebsd-ports-gnome-5e26b9302f0eed3796020dcfe343e97dd568ef62.tar.zst
freebsd-ports-gnome-5e26b9302f0eed3796020dcfe343e97dd568ef62.zip
Now builds on amd64
Approved by: portmgr (self)
Diffstat (limited to 'games/xracer')
-rw-r--r--games/xracer/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/games/xracer/Makefile b/games/xracer/Makefile
index 30a5da9d2e31..1dfb0bf5cb26 100644
--- a/games/xracer/Makefile
+++ b/games/xracer/Makefile
@@ -15,10 +15,6 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xracer-data.tar.gz
MAINTAINER= troll@digitalspark.net
COMMENT= Awesome WipeOut clone for OpenGL and X11!
-.if ${MACHINE_ARCH} != i386
-BROKEN= "Does not build on ${MACHINE_ARCH}"
-.endif
-
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_XLIB= yes
@@ -30,6 +26,13 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_C
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-esd
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != i386 && ${ARCH} != "amd64"
+BROKEN= "Does not build on ${ARCH}"
+.endif
+
+
post-patch:
@${TOUCH} ${WRKSRC}/stamp-h.in
@@ -49,4 +52,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>