aboutsummaryrefslogtreecommitdiffstats
path: root/games/nethack33
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-05-18 20:02:53 +0800
committerkris <kris@FreeBSD.org>2003-05-18 20:02:53 +0800
commit383fe1df7194a221b0273d2c130d3a593a4e9abc (patch)
tree45a92590ff1d5debab0ac76953f201f58406222e /games/nethack33
parentc5888019686e0b3618f95345938bc9496b1f79b4 (diff)
downloadfreebsd-ports-gnome-383fe1df7194a221b0273d2c130d3a593a4e9abc.tar.gz
freebsd-ports-gnome-383fe1df7194a221b0273d2c130d3a593a4e9abc.tar.zst
freebsd-ports-gnome-383fe1df7194a221b0273d2c130d3a593a4e9abc.zip
WITH_QT_GRAPHICS is BROKEN on 5.1: bad C++ code
Diffstat (limited to 'games/nethack33')
-rw-r--r--games/nethack33/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile
index 32174e30d4c8..363f74c3bbc0 100644
--- a/games/nethack33/Makefile
+++ b/games/nethack33/Makefile
@@ -27,6 +27,8 @@ MAKE_ENV= CXX="${CXX}" GRAPHICS="${GRAPHICS}"
MAN6= dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GNOME_GRAPHICS)
CATEGORIES= games gnome
PKGNAMESUFFIX= -gnome
@@ -34,6 +36,9 @@ LIB_DEPENDS+= gnugetopt:${PORTSDIR}/devel/libgnugetopt
USE_GNOME= yes
GRAPHICS= GNOME_GRAPHICS
.elif defined(WITH_QT_GRAPHICS)
+.if ${OSVERSION} >= 500113
+BROKEN= "Does not build"
+.endif
PKGNAMESUFFIX= -qt
USE_QT_VER= 2
MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS}" QTCFGLIBS="${QTCFGLIBS}" \
@@ -83,4 +88,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>