diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2007-05-27 03:03:31 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2007-05-27 03:03:31 +0000 |
commit | b7ff7031ea6f07582ad920bef0ffd13ac1adcc44 (patch) | |
tree | fa95c4dec9e92efb4ff7df81d579129d7bc11807 /games/gnubg | |
parent | bd5f3dd41b37a452c489843e85d75cf94433bbc6 (diff) | |
download | ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.tar.gz ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.zip |
Notes
Diffstat (limited to 'games/gnubg')
-rw-r--r-- | games/gnubg/Makefile | 16 |
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> |