aboutsummaryrefslogtreecommitdiff
path: root/games/xracer
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/xracer
parentc1481d696ea1e6b43e904d2eb4ca228684773d27 (diff)
downloadports-6cf6bed8241173839b755f22667ccd6d403a831f.tar.gz
ports-6cf6bed8241173839b755f22667ccd6d403a831f.zip
Notes
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>