aboutsummaryrefslogtreecommitdiff
path: root/games/magiccube4d
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-08 05:30:52 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-10-08 05:30:52 +0000
commitb910a0ab5fecffc6c6c3c0acc8dcc1073a0c1887 (patch)
tree25065506d9f11204d4891e2559afdc749ebf8bc5 /games/magiccube4d
parenta03dd5ffb9910b031d8d36e3f63a25441aa863a9 (diff)
downloadports-b910a0ab5fecffc6c6c3c0acc8dcc1073a0c1887.tar.gz
ports-b910a0ab5fecffc6c6c3c0acc8dcc1073a0c1887.zip
Notes
Diffstat (limited to 'games/magiccube4d')
-rw-r--r--games/magiccube4d/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/magiccube4d/Makefile b/games/magiccube4d/Makefile
index 0322e5b7f443..9f114a013694 100644
--- a/games/magiccube4d/Makefile
+++ b/games/magiccube4d/Makefile
@@ -16,17 +16,16 @@ MAINTAINER= karlj000@unbc.ca
COMMENT= MagicCube4D is a four-dimensional analog of Rubik's cube
USE_X_PREFIX= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/}
DOCS= ChangeLog Intro.txt MagicCube4D-unix.txt \
ideas.txt readme-unix.txt
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/stickers)()/stickers)(0)/' \
+ ${WRKSRC}/EventHandler.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/magiccube4d ${PREFIX}/bin
@@ -37,4 +36,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>