aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnubg
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-05-27 11:03:31 +0800
committerkris <kris@FreeBSD.org>2007-05-27 11:03:31 +0800
commit3ee20a81fbe38cbba4000ad893e1ac81e953f2eb (patch)
tree965567cbb664ce2d1956915bd4daa13e8e6e1241 /games/gnubg
parent0ccd4067feff5266b8b5bc29943d9c4ca415e847 (diff)
downloadfreebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.gz
freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.zst
freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.zip
BROKEN with gcc 4.2
Diffstat (limited to 'games/gnubg')
-rw-r--r--games/gnubg/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
index 351f305546dc..1b7bae321de7 100644
--- a/games/gnubg/Makefile
+++ b/games/gnubg/Makefile
@@ -67,6 +67,16 @@ CONFIGURE_ARGS+= --with-python
CONFIGURE_ARGS+= --without-python
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
+.if ${ARCH} == "sparc64"
+BROKEN= does not compile on sparc64
+.endif
+
post-extract:
${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz > ${WRKSRC}/gnubg.weights
${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_os0.bd.gz > ${WRKSRC}/gnubg_os0.bd
@@ -77,10 +87,4 @@ post-patch:
${REINPLACE_CMD} -e 's|"getopt\.h"|<getopt.h>|g' ${WRKSRC}/${file}
.endfor
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= does not compile on sparc64
-.endif
-
.include <bsd.port.post.mk>