diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-08 05:30:52 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2004-10-08 05:30:52 +0000 |
commit | b910a0ab5fecffc6c6c3c0acc8dcc1073a0c1887 (patch) | |
tree | 25065506d9f11204d4891e2559afdc749ebf8bc5 | |
parent | Update the Dirac codec to 0.4.3. (diff) |
Unbreak the build with recent GCC.
Reported by: kris
Approved by: portmgr (krion), fjoe (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=118583
-rw-r--r-- | games/magiccube4d/Makefile | 11 |
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> |