aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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