diff options
author | minskim <minskim> | 2005-06-07 05:41:38 +0000 |
---|---|---|
committer | minskim <minskim> | 2005-06-07 05:41:38 +0000 |
commit | 093e0ba8ae00ecd1843908f1080908af44014e01 (patch) | |
tree | 517908d5b09b30bc20cc83576614862585a9e30b /games/nighthawk/patches | |
parent | 98d7e32a6bd45b6baf8c45d0a6e4583bcd941a12 (diff) | |
download | pkgsrc-093e0ba8ae00ecd1843908f1080908af44014e01.tar.gz |
Honor VARBASE.
Diffstat (limited to 'games/nighthawk/patches')
-rw-r--r-- | games/nighthawk/patches/patch-ab | 15 | ||||
-rw-r--r-- | games/nighthawk/patches/patch-ad | 10 |
2 files changed, 12 insertions, 13 deletions
diff --git a/games/nighthawk/patches/patch-ab b/games/nighthawk/patches/patch-ab index bc12b27c5cf..36a1039e82e 100644 --- a/games/nighthawk/patches/patch-ab +++ b/games/nighthawk/patches/patch-ab @@ -1,19 +1,18 @@ -$NetBSD: patch-ab,v 1.4 1999/08/04 12:18:12 hubertf Exp $ +$NetBSD: patch-ab,v 1.5 2005/06/07 05:41:38 minskim Exp $ ---- src/Makefile.orig Sun Feb 7 01:25:16 1999 -+++ src/Makefile Sun Feb 7 01:26:48 1999 -@@ -3,13 +3,14 @@ +--- src/Makefile.orig 2005-06-07 00:36:34.514643392 -0500 ++++ src/Makefile +@@ -3,13 +3,13 @@ # ############################################################################ VERSION = 2.1 -CC = gcc -CP = g++ +-OPTIONS = -Wall -g -pipe -fomit-frame-pointer \ +CC = gcc ${EVERYTHING} +CP = g++ ${EVERYTHING} - OPTIONS = -Wall -g -pipe -fomit-frame-pointer \ -- -DVERSION='"$(VERSION)"' -+ -DVERSION='"$(VERSION)"' \ -+ -DPREFIX=\"${PREFIX}\" ++OPTIONS = ${CPPFLAGS} ${CFLAGS} -Wall -pipe -fomit-frame-pointer \ + -DVERSION='"$(VERSION)"' -INCLUDE = -LIBS = -L/usr/X11R6/lib -lXpm -lX11 diff --git a/games/nighthawk/patches/patch-ad b/games/nighthawk/patches/patch-ad index 0a1486b6c0e..e2003465e85 100644 --- a/games/nighthawk/patches/patch-ad +++ b/games/nighthawk/patches/patch-ad @@ -1,15 +1,15 @@ -$NetBSD: patch-ad,v 1.2 1999/02/10 15:09:56 frueauf Exp $ +$NetBSD: patch-ad,v 1.3 2005/06/07 05:41:38 minskim Exp $ ---- options.h.BAK Sun Feb 7 01:25:16 1999 -+++ options.h Sun Feb 7 01:31:44 1999 -@@ -8,8 +8,8 @@ +--- options.h.orig 2005-06-07 00:33:59.974137120 -0500 ++++ options.h +@@ -8,8 +8,8 @@ If you are only building the basic game configure theses directives. -------------------------------------------------------------------------- --------------------------------------------------------------------------*/ -#define INSTALL_DIR "/tmp" -#define SCORES_FILE "/tmp/nighthawk.scores" +#define INSTALL_DIR PREFIX "/share/nighthawk" -+#define SCORES_FILE "/var/games/nighthawk.scores" ++#define SCORES_FILE VARBASE"/games/nighthawk.scores" /* uncomment this if you have a slow machine. this will reduce high intensive |