aboutsummaryrefslogtreecommitdiff
path: root/games/dungeon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/dungeon/Makefile')
-rw-r--r--games/dungeon/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile
index d651a5cd97b0..7ae6efafceed 100644
--- a/games/dungeon/Makefile
+++ b/games/dungeon/Makefile
@@ -22,6 +22,7 @@ EXTRACT_ONLY= dungeon-gdt-glk.tar.gz \
MAINTAINER= sailor@63bit.net
COMMENT= Text adventure which became Zork I-III
+USES= ncurses
NO_WRKSUBDIR= yes
PLIST_FILES= bin/dungeon \
@@ -43,6 +44,7 @@ pre-patch:
@${REINPLACE_CMD} -e 's/^CC =/CC ?=/' \
-e 's/^CFLAGS =/CFLAGS +=/' \
-e 's/^OPTIONS = -g/OPTIONS =/' \
+ -e "s@LIBS = @LIBS = ${LDFLAGS} @g" \
-e '/^OPTIONS = -O/d' \
${WRKSRC}/glkterm/Makefile ${WRKSRC}/dungeon-gdt/Makefile