summaryrefslogtreecommitdiff
path: root/games/nethack34
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-05-18 12:10:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-05-18 12:10:53 +0000
commitb61c7a0f393e3f8fd9db6bc9e21b00f2c1bf74ca (patch)
tree3f2546646de4007b66e12b104976897b55d1cd76 /games/nethack34
parentBROKEN on 5.1: does not build (diff)
WITH_QT_GRAPHICS is BROKEN on 5.1: bad C++ code
Notes
Notes: svn path=/head/; revision=81228
Diffstat (limited to 'games/nethack34')
-rw-r--r--games/nethack34/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 2667e7448db0..b1e4bc6f70bb 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -33,6 +33,8 @@ HACKNAME?= nethack
HACKDIR?= lib/${HACKNAME}
HACKDOCSDIR?= share/doc/${HACKNAME}
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GNOME_GRAPHICS)
CATEGORIES= games gnome
PKGNAMESUFFIX= -gnome
@@ -41,6 +43,9 @@ USE_GNOME= gnomelibs
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
GRAPHICS= GNOME_GRAPHICS
.elif defined(WITH_QT_GRAPHICS)
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not compile (bad C++ code)"
+.endif
PKGNAMESUFFIX= -qt
USE_QT_VER= 3
MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
@@ -95,4 +100,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/${HACKDOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>