diff options
author | rillig <rillig@pkgsrc.org> | 2006-06-26 08:56:37 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-06-26 08:56:37 +0000 |
commit | e0e5f70d1925d614f3112598acf730b9ef7d9ae2 (patch) | |
tree | 2158a3214364176a82cc664c61fa5557baa31251 /games/maelstrom-x11/patches | |
parent | 15d852cb521e4763282c8c7911b31c0a264c958d (diff) | |
download | pkgsrc-e0e5f70d1925d614f3112598acf730b9ef7d9ae2.tar.gz |
Fixed reference to the /var directory. Bumped PKGREVISION.
Diffstat (limited to 'games/maelstrom-x11/patches')
-rw-r--r-- | games/maelstrom-x11/patches/patch-aa | 4 | ||||
-rw-r--r-- | games/maelstrom-x11/patches/patch-ae | 22 | ||||
-rw-r--r-- | games/maelstrom-x11/patches/patch-ag | 5 |
3 files changed, 16 insertions, 15 deletions
diff --git a/games/maelstrom-x11/patches/patch-aa b/games/maelstrom-x11/patches/patch-aa index 16780561966..7c8fe0e1725 100644 --- a/games/maelstrom-x11/patches/patch-aa +++ b/games/maelstrom-x11/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2005/12/30 22:41:27 joerg Exp $ +$NetBSD: patch-aa,v 1.3 2006/06/26 08:56:37 rillig Exp $ --- Makeflags.orig Mon Jul 14 14:32:13 1997 +++ Makeflags Sun Jul 30 01:32:07 2000 @@ -9,7 +9,7 @@ $NetBSD: patch-aa,v 1.2 2005/12/30 22:41:27 joerg Exp $ -BINDIR = /usr/local/bin -LIBDIR = /usr/local/lib/Maelstrom +SYSTEM = -+FEATURES = -DAUDIO_16BIT -DASYNCHRONOUS_IO -DUSE_POSIX_SIGNALS ++FEATURES = -DAUDIO_16BIT -DASYNCHRONOUS_IO -DUSE_POSIX_SIGNALS -DVARBASE=\"${VARBASE}\" -INSTALL = install +LOGIC = netlogic diff --git a/games/maelstrom-x11/patches/patch-ae b/games/maelstrom-x11/patches/patch-ae index 397d66a2f7b..30b8e6db105 100644 --- a/games/maelstrom-x11/patches/patch-ae +++ b/games/maelstrom-x11/patches/patch-ae @@ -1,7 +1,8 @@ -$NetBSD: patch-ae,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ ---- Makefile.orig Wed Feb 5 06:12:18 1997 -+++ Makefile Mon Sep 14 12:10:06 1998 -@@ -18,7 +18,7 @@ +$NetBSD: patch-ae,v 1.2 2006/06/26 08:56:37 rillig Exp $ + +--- Makefile.orig 1997-02-05 14:12:18.000000000 +0100 ++++ Makefile 2006-06-26 10:50:45.000000000 +0200 +@@ -18,7 +18,7 @@ install: $(MAELSTROM) @echo "Installing binaries in $(BINDIR)..." @for i in $(MAELSTROM) ; do \ strip $$i; \ @@ -10,18 +11,17 @@ $NetBSD: patch-ae,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ done @if [ ! -d $(LIBDIR) ]; then \ mkdir $(LIBDIR); chmod 755 $(LIBDIR); \ -@@ -26,10 +26,11 @@ +@@ -26,11 +26,8 @@ install: $(MAELSTROM) @echo "Installing data files in $(LIBDIR) ..." @tar cf - $(DATAFILES) | (cd $(LIBDIR); tar xvf -) @chmod -R +r $(LIBDIR) - @if [ ! -f "$(LIBDIR)/Maelstrom-Scores" ]; then \ -+ @chown -R ${BINOWN}:${BINGRP} $(LIBDIR) -+ @if [ ! -f "/var/games/Maelstrom-Scores" ]; then \ - echo "Installing Maelstrom high-scores file"; \ +- echo "Installing Maelstrom high-scores file"; \ - $(INSTALL) -m 666 Maelstrom-Scores $(LIBDIR); \ - chmod 666 $(LIBDIR)/Maelstrom-Scores; \ -+ $(INSTALL) -c -m 666 Maelstrom-Scores /var/games; \ -+ chmod 666 /var/games/Maelstrom-Scores; \ - fi +- fi ++ @chown -R ${BINOWN}:${BINGRP} $(LIBDIR) ++ ${BSD_INSTALL_DATA} Maelstrom-Scores $(PREFIX)/share/maelstrom @-if [ "$(SYSTEM)" = "Linux" ]; then \ echo "Fixing permissions for Maelstrom (set-uid root)"; \ + chown root $(BINDIR)/Maelstrom && \ diff --git a/games/maelstrom-x11/patches/patch-ag b/games/maelstrom-x11/patches/patch-ag index 463b1037aa4..92387375313 100644 --- a/games/maelstrom-x11/patches/patch-ag +++ b/games/maelstrom-x11/patches/patch-ag @@ -1,4 +1,5 @@ -$NetBSD: patch-ag,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ +$NetBSD: patch-ag,v 1.2 2006/06/26 08:56:37 rillig Exp $ + --- scores.cpp.orig Mon Sep 14 12:06:20 1998 +++ scores.cpp Mon Sep 14 12:08:28 1998 @@ -11,7 +11,7 @@ @@ -6,7 +7,7 @@ $NetBSD: patch-ag,v 1.1.1.1 2002/07/11 13:26:14 wiz Exp $ #include "dialog.h" -#define MAELSTROM_SCORES "Maelstrom-Scores" -+#define MAELSTROM_SCORES "/var/games/Maelstrom-Scores" ++#define MAELSTROM_SCORES VARBASE"/games/Maelstrom-Scores" #define NUM_SCORES 10 // Do not change this! /* Everyone can write to scores file if defined to 0 */ |