1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Unbreak the build with recent GCC.

Reported by:	kris
Approved by:	portmgr (krion), fjoe (mentor, implicit)
This commit is contained in:
Alexey Dokuchaev 2004-10-08 05:30:52 +00:00
parent a03dd5ffb9
commit b910a0ab5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118583

View File

@ -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>