summaryrefslogtreecommitdiff
path: root/games/ztrack/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/ztrack/patches/patch-Makefile')
-rw-r--r--games/ztrack/patches/patch-Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/games/ztrack/patches/patch-Makefile b/games/ztrack/patches/patch-Makefile
index fcbf5fbb4e2..359733ddc98 100644
--- a/games/ztrack/patches/patch-Makefile
+++ b/games/ztrack/patches/patch-Makefile
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makefile,v 1.1 2016/07/28 17:51:20 kamil Exp $
+$NetBSD: patch-Makefile,v 1.2 2016/07/28 19:31:28 leot Exp $
- Accept user defined CC, CFLAGS and LDFLAGS.
- Add DESTDIR support
@@ -6,7 +6,7 @@ $NetBSD: patch-Makefile,v 1.1 2016/07/28 17:51:20 kamil Exp $
--- Makefile.orig 1996-09-30 03:34:20.000000000 +0000
+++ Makefile
-@@ -2,16 +2,16 @@
+@@ -2,13 +2,13 @@
#
# note that you need an ANSI C compiler;
# gcc is easiest if you've got it or can get it
@@ -21,11 +21,7 @@ $NetBSD: patch-Makefile,v 1.1 2016/07/28 17:51:20 kamil Exp $
+CFLAGS+= -Wall -DHAVE_RANDOM
# if using ncurses:
--LIBS=-lncurses
-+LIBS=-lcurses
-
- # bsd-derived is usually:
- #LIBS=-lcurses -ltermcap
+ LIBS=-lncurses
@@ -20,6 +20,7 @@ LIBS=-lncurses
#LIBS=-lcurses -lterminfo