summaryrefslogtreecommitdiff
path: root/games/xbill
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-06-14 17:23:24 +0000
committerminskim <minskim@pkgsrc.org>2005-06-14 17:23:24 +0000
commit3febce4eec8a89b9a7a0587bb5015c9dab2e75b0 (patch)
treed70c42a90a1c489b9aa18539bbad4dc5405656b5 /games/xbill
parentf52e98ff8f76ea35336f457b173dc29bc1e785b6 (diff)
downloadpkgsrc-3febce4eec8a89b9a7a0587bb5015c9dab2e75b0.tar.gz
Use VARBASE instead of hardcoding /var.
Diffstat (limited to 'games/xbill')
-rw-r--r--games/xbill/Makefile7
-rw-r--r--games/xbill/distinfo4
-rw-r--r--games/xbill/patches/patch-ab8
3 files changed, 10 insertions, 9 deletions
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
index e5f25513e6d..04a7923a0ce 100644
--- a/games/xbill/Makefile
+++ b/games/xbill/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/06/14 17:18:54 minskim Exp $
+# $NetBSD: Makefile,v 1.18 2005/06/14 17:23:24 minskim Exp $
#
DISTNAME= xbill-2.0
@@ -17,10 +17,11 @@ USE_IMAKE= YES
USE_PKGINSTALL= YES
NO_INSTALL_MANPAGES= YES
+CPPFLAGS+= -DVARBASE=\"${VARBASE}\"
PKG_GROUPS= ${GAMEGRP}
-MAKE_DIRS_PERMS+= /var/games ${BINOWN} ${GAMEGRP} 0775
+MAKE_DIRS_PERMS+= ${VARBASE}/games ${BINOWN} ${GAMEGRP} 0775
MAKE_ENV+= GAMEGRP=${GAMEGRP} GAMEMODE=${GAMEMODE}
-SUPPORT_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores /var/games/xbill.scores ${BINOWN} ${GAMEGRP} ${GAMEDATAMODE}
+SUPPORT_FILES_PERMS+= ${PREFIX}/share/examples/xbill.scores ${VARBASE}/games/xbill.scores ${BINOWN} ${GAMEGRP} ${GAMEDATAMODE}
post-install:
${INSTALL_MAN} ${WRKSRC}/xbill.man ${PREFIX}/man/man6/xbill.6
diff --git a/games/xbill/distinfo b/games/xbill/distinfo
index e0c1fb6cf7d..ae58115f2aa 100644
--- a/games/xbill/distinfo
+++ b/games/xbill/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2005/06/14 17:14:08 minskim Exp $
+$NetBSD: distinfo,v 1.11 2005/06/14 17:23:24 minskim Exp $
SHA1 (xbill-2.0.tgz) = 4ce4e37687801343af5f57c28498bd0b969c0537
RMD160 (xbill-2.0.tgz) = 8f1551fb5f2bf7b620243ba4787c88c91d00d460
Size (xbill-2.0.tgz) = 46909 bytes
SHA1 (patch-aa) = 2da005452b1bd9c0258bc132535dd5c1fc9eb4b9
-SHA1 (patch-ab) = 245573e1ea2223ed1bde91c16db81a658bfcc8f6
+SHA1 (patch-ab) = 13a90b12c94352e228406541db06bacab8cd4a0d
SHA1 (patch-ac) = c3dd487d0002f528f6726d268673bc11be0b24b6
SHA1 (patch-ad) = 841d5ff9bbd984b62076a96e82b04e082d09a40c
diff --git a/games/xbill/patches/patch-ab b/games/xbill/patches/patch-ab
index af64667e5c8..c456422bda9 100644
--- a/games/xbill/patches/patch-ab
+++ b/games/xbill/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 1998/09/30 08:51:30 tron Exp $
+$NetBSD: patch-ab,v 1.3 2005/06/14 17:23:24 minskim Exp $
---- Scorelist.cc.orig Mon Sep 14 13:13:16 1998
-+++ Scorelist.cc Mon Sep 14 13:14:21 1998
+--- Scorelist.cc.orig 1997-01-23 10:22:50.000000000 -0600
++++ Scorelist.cc
@@ -1,9 +1,9 @@
#include "objects.h"
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.2 1998/09/30 08:51:30 tron Exp $
- return fopen (file, mode);
+/* char file[255];
+ sprintf (file, "%sscores", XBILL_HOME);*/
-+ return fopen ("/var/games/xbill.scores", mode);
++ return fopen (VARBASE "/games/xbill.scores", mode);
}
void Scorelist::read() {