games/bluemoon: document ncurses rqmt (USES+=ncurses), respect LDFLAGS

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-04 19:32:55 +00:00
parent b83ab99a28
commit 5b55a810da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408083
2 changed files with 12 additions and 1 deletions

View file

@ -11,7 +11,7 @@ COMMENT= Blue Moon card solitaire
LICENSE= BSD3CLAUSE
USES= gmake
USES= gmake ncurses
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \

View file

@ -0,0 +1,11 @@
--- Makefile.orig 2014-05-21 12:29:36 UTC
+++ Makefile
@@ -6,7 +6,7 @@ SOURCES = README COPYING NEWS Makefile c
CFLAGS=-O
bluemoon: bluemoon.c
- cc $(CFLAGS) -DRELEASE=\"$(VERS)\" bluemoon.c -lncurses -o bluemoon
+ $(CC) $(CFLAGS) -DRELEASE=\"$(VERS)\" bluemoon.c $(LDFLAGS) -lncurses -o bluemoon
bluemoon.6: bluemoon.xml
xmlto man bluemoon.xml