aboutsummaryrefslogtreecommitdiff
path: root/games/bs
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-04 19:34:36 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-04 19:34:36 +0000
commit460e0adb99958bdc0628463a872c9d21c71382b4 (patch)
treeef2ebad76c5276e7a7eed33454c8c746de5e985c /games/bs
parent5b55a810dac114059d8104039970b728e3e9943d (diff)
downloadports-460e0adb99958bdc0628463a872c9d21c71382b4.tar.gz
ports-460e0adb99958bdc0628463a872c9d21c71382b4.zip
games/bs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=408084
Diffstat (limited to 'games/bs')
-rw-r--r--games/bs/Makefile2
-rw-r--r--games/bs/files/patch-Makefile11
2 files changed, 12 insertions, 1 deletions
diff --git a/games/bs/Makefile b/games/bs/Makefile
index d0a76b38998e..571a39204d8e 100644
--- a/games/bs/Makefile
+++ b/games/bs/Makefile
@@ -11,7 +11,7 @@ COMMENT= Battleships solitaire game with a color interface
LICENSE= BSD3CLAUSE
-USES= gmake
+USES= gmake ncurses
MAKE_ARGS= CC="${CC}"
ALL_TARGET= # empty
diff --git a/games/bs/files/patch-Makefile b/games/bs/files/patch-Makefile
new file mode 100644
index 000000000000..5d6317df77b2
--- /dev/null
+++ b/games/bs/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2016-02-04 19:19:31 UTC
++++ Makefile
+@@ -8,7 +8,7 @@ CC = gcc
+ DESTDIR =
+
+ bs: bs.c
+- $(CC) $(CFLAGS) -o bs bs.c -lncurses
++ $(CC) $(CFLAGS) -o bs bs.c $(LDFLAGS) -lncurses
+
+ bs.6: bs.xml
+ xmlto man bs.xml