summaryrefslogtreecommitdiff
path: root/games/nethack-lib/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-17 14:31:12 +0000
committeragc <agc@pkgsrc.org>2000-07-17 14:31:12 +0000
commit97fe9a2b08e41436c688431b9981ab20fc286d82 (patch)
tree8da39c94316b1cde90f4da897a035d1fd1fc4573 /games/nethack-lib/patches
parent44b15b4200c4ff66f4500169c9de6174116f9e7a (diff)
downloadpkgsrc-97fe9a2b08e41436c688431b9981ab20fc286d82.tar.gz
Find out the installed location of the gzip binary in a different
manner - use the first word of the ${GZIP_CMD} definition from bsd.pkg.mk, and substitute this value in the same manner that the PREFIX is set. This is useful on systems other than NetBSD, where gzip may not be installed in /usr/bin. Use a descriptive name for the input of the pre-processed file. Make sure that gcc is used when compiling on Solaris.
Diffstat (limited to 'games/nethack-lib/patches')
-rw-r--r--games/nethack-lib/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/nethack-lib/patches/patch-aa b/games/nethack-lib/patches/patch-aa
index 7ac949f6f3f..6ce5e484e3c 100644
--- a/games/nethack-lib/patches/patch-aa
+++ b/games/nethack-lib/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2000/07/16 12:40:55 pooka Exp $
+$NetBSD: patch-aa,v 1.4 2000/07/17 14:31:13 agc Exp $
--- include/config.h.orig Sat Dec 11 07:20:49 1999
+++ include/config.h Fri Dec 17 13:51:24 1999
@@ -13,7 +13,7 @@ $NetBSD: patch-aa,v 1.3 2000/07/16 12:40:55 pooka Exp $
/* An example of one alternative you might want to use: */
-/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */
-/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */
-+#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */
++#define COMPRESS "@GZIP_PROGRAM@" /* FSF gzip compression */
+#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */
#endif