games/xtgyoretsu: document ncurses requirement (USES+=ncurses)

while here:
  * repect LDFLAGS
  * Also specify lncurses instead of lcurses.  On FreeBSD, libcurses is
    symlinked to lncurses, but the former does not exist in ports ncurses.

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-01-31 08:40:10 +00:00
parent f7da613142
commit 3b1604171f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407590

View File

@ -0,0 +1,11 @@
--- Makefile.orig 2014-08-21 16:30:06 UTC
+++ Makefile
@@ -5,7 +5,7 @@ DESTDIR?= #empty
PREFIX?= /usr
all:
- ${CC} ${CFLAGS} -o xtgyoretsu xtgyoretsu.c -lcurses -lm
+ ${CC} ${CFLAGS} -o xtgyoretsu xtgyoretsu.c ${LDFLAGS} -lncurses -lm
strip --strip-unneeded xtgyoretsu
install: