From 68b199543be7d588ef8e59d7b13936baa9f974d4 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 4 Feb 2016 21:10:43 +0000 Subject: [PATCH] games/dungeon: document ncurses rqmt (USES+=ncurses), respect LDFLAGS approved by: infrastructure blanket --- games/dungeon/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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