aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-10-23 02:42:31 +0800
committermarino <marino@FreeBSD.org>2016-10-23 02:42:31 +0800
commit4f68fe28c3933dd5351a73f39982c80042348965 (patch)
treed7a88cd898e8e798c55d0a38f2313688fbae2919 /games
parent01f65f257b6deb9f393fa5d25962abc14cf62b45 (diff)
downloadfreebsd-ports-gnome-4f68fe28c3933dd5351a73f39982c80042348965.tar.gz
freebsd-ports-gnome-4f68fe28c3933dd5351a73f39982c80042348965.tar.zst
freebsd-ports-gnome-4f68fe28c3933dd5351a73f39982c80042348965.zip
games/nethack36(-nox): Document ncurses requirement
Also link directly to libncurses rather than its symlink. While here, allow build on DF with USES=alias. Approved by: ncurses blanket
Diffstat (limited to 'games')
-rw-r--r--games/nethack36/Makefile2
-rw-r--r--games/nethack36/files/patch-sys-unix-Makefile.src2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/nethack36/Makefile b/games/nethack36/Makefile
index 98368c81c2f1..6c2096bed493 100644
--- a/games/nethack36/Makefile
+++ b/games/nethack36/Makefile
@@ -18,7 +18,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-${PORTVERSION}
-USES= gmake tar:tgz
+USES= alias gmake ncurses tar:tgz
MAKE_ENV= GRAPHICS="${GRAPHICS}"
PLIST_SUB= HACKNAME="${HACKNAME}" \
HACKEXT="${HACKEXT}"
diff --git a/games/nethack36/files/patch-sys-unix-Makefile.src b/games/nethack36/files/patch-sys-unix-Makefile.src
index 20eb7153d36a..ee286d3dc9ea 100644
--- a/games/nethack36/files/patch-sys-unix-Makefile.src
+++ b/games/nethack36/files/patch-sys-unix-Makefile.src
@@ -61,7 +61,7 @@
# WINTTYLIB = -lcurses16
# WINTTYLIB = -lncurses
-#WINTTYLIB = -ltermlib
-+WINTTYLIB = -ltermlib
++WINTTYLIB = -lncurses -L${LOCALBASE}/lib
#
# libraries for X11
# If USE_XPM is defined in config.h, you will also need -lXpm here.