summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-28 01:53:59 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-28 01:53:59 +0000
commit6cf6bed8241173839b755f22667ccd6d403a831f (patch)
tree74b01b1c6f8dcf7bfe8a49b10b3db378e45cfd67 /games
parentCorrect typo in previous (diff)
Now builds on amd64
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=118470
Diffstat (limited to 'games')
-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>