aboutsummaryrefslogtreecommitdiffstats
path: root/games/bs
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-05 03:34:36 +0800
committermarino <marino@FreeBSD.org>2016-02-05 03:34:36 +0800
commita305f55839dfdc753975b6bfe7e26aef95593ef4 (patch)
treeef2ebad76c5276e7a7eed33454c8c746de5e985c /games/bs
parent1400b0c484f382c4b6cfbbb85cc3f0ca5a8d2952 (diff)
downloadfreebsd-ports-gnome-a305f55839dfdc753975b6bfe7e26aef95593ef4.tar.gz
freebsd-ports-gnome-a305f55839dfdc753975b6bfe7e26aef95593ef4.tar.zst
freebsd-ports-gnome-a305f55839dfdc753975b6bfe7e26aef95593ef4.zip
games/bs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
approved by: infrastructure blanket
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