summaryrefslogtreecommitdiff
path: root/games/ztrack
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2016-07-28 19:31:28 +0000
committerleot <leot@pkgsrc.org>2016-07-28 19:31:28 +0000
commite3de01500a1cd4811aa51582b7edc9b4db069931 (patch)
tree53010f36d6524507a96d30efedc26f562ac69c39 /games/ztrack
parent07205753596230a7bfb1a571fad83fb0302bc761 (diff)
downloadpkgsrc-e3de01500a1cd4811aa51582b7edc9b4db069931.tar.gz
Do not alter LIBS in in patch-Makefile (so SUBST_* correctly applies)
Bump PKGREVISION
Diffstat (limited to 'games/ztrack')
-rw-r--r--games/ztrack/Makefile3
-rw-r--r--games/ztrack/distinfo4
-rw-r--r--games/ztrack/patches/patch-Makefile10
3 files changed, 7 insertions, 10 deletions
diff --git a/games/ztrack/Makefile b/games/ztrack/Makefile
index 80c5049af67..0b7044f889e 100644
--- a/games/ztrack/Makefile
+++ b/games/ztrack/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2016/07/28 17:51:20 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/07/28 19:31:28 leot Exp $
DISTNAME= ztrack-1.0
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE:=games/arcade/}
diff --git a/games/ztrack/distinfo b/games/ztrack/distinfo
index 1c9b92b67ec..9ad7d2fc98c 100644
--- a/games/ztrack/distinfo
+++ b/games/ztrack/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2016/07/28 17:51:20 kamil Exp $
+$NetBSD: distinfo,v 1.2 2016/07/28 19:31:28 leot Exp $
SHA1 (ztrack-1.0.tar.gz) = 1cc31c82d78b87efa18623edf72eaa02859b38f0
RMD160 (ztrack-1.0.tar.gz) = ff3deaf1a31e048350cb94f1d9fed87e84a99fde
SHA512 (ztrack-1.0.tar.gz) = 10efc72b593f6068ebf515ebd5be8d4c0451f37e798161dca5addbfcc468b6ee1d2bfc6b92701c6024ae4cb4fd3b1053a7891c2e7a023855aa2821420e6bb62c
Size (ztrack-1.0.tar.gz) = 10186 bytes
-SHA1 (patch-Makefile) = cb68993430fa3286ebb1c5828c3e5209adf844f9
+SHA1 (patch-Makefile) = a5bf4297abf24d2fc17d5fa2dc4da975bc242869
SHA1 (patch-ztrack.c) = f47973334a3baa59e8ac675fc43280a6f9bb6881
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