summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-25 19:22:18 +0000
committerjlam <jlam@pkgsrc.org>2001-11-25 19:22:18 +0000
commite7eb7451372d1fa6ede1e93ba5d2853dff06181c (patch)
treed90704c0fe661aa093feca30571e8a7f9caafba6 /net
parent0374075bfe34b9205ac792f4abec978576da0d35 (diff)
downloadpkgsrc-e7eb7451372d1fa6ede1e93ba5d2853dff06181c.tar.gz
VTUN_SYSCONFDIR is obsolete...use PKG_SYSCONFDIR instead.
Diffstat (limited to 'net')
-rw-r--r--net/vtun/DEINSTALL4
-rw-r--r--net/vtun/INSTALL4
-rw-r--r--net/vtun/Makefile8
3 files changed, 7 insertions, 9 deletions
diff --git a/net/vtun/DEINSTALL b/net/vtun/DEINSTALL
index 0db8b5eca34..2a85afd2fca 100644
--- a/net/vtun/DEINSTALL
+++ b/net/vtun/DEINSTALL
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.1 2001/10/31 22:59:45 zuntum Exp $
+# $NetBSD: DEINSTALL,v 1.2 2001/11/25 19:22:18 jlam Exp $
PKGNAME=$1
STAGE=$2
@@ -11,7 +11,7 @@ RM="@RM@"
RMDIR="@RMDIR@"
TRUE="@TRUE@"
-CONFDIR="@VTUN_SYSCONFDIR@"
+CONFDIR="@PKG_SYSCONFDIR@"
SAMPLECONFDIR=${PKG_PREFIX}/share/examples/vtun
CONFFILES="vtund.conf"
LOCKDIR=/var/lock/vtund
diff --git a/net/vtun/INSTALL b/net/vtun/INSTALL
index d284f357eff..3f841811066 100644
--- a/net/vtun/INSTALL
+++ b/net/vtun/INSTALL
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.1 2001/10/31 22:59:45 zuntum Exp $
+# $NetBSD: INSTALL,v 1.2 2001/11/25 19:22:19 jlam Exp $
PKGNAME=$1
STAGE=$2
@@ -10,7 +10,7 @@ CHMOD="@CHMOD@"
CP="@CP@"
MKDIR="@MKDIR@"
-CONFDIR="@VTUN_SYSCONFDIR@"
+CONFDIR="@PKG_SYSCONFDIR@"
SAMPLECONFDIR=${PKG_PREFIX}/share/examples/vtun
CONFFILES="vtund.conf"
LOCKDIR=/var/lock/vtund
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index d35adc38b1c..27a15f92f27 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/07/13 07:09:21 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2001/11/25 19:22:19 jlam Exp $
DISTNAME= vtun-2.4
CATEGORIES= net
@@ -26,11 +26,9 @@ INSTALL_FILE= ${WRKDIR}/INSTALL
.include "../../mk/bsd.prefs.mk"
-VTUN_SYSCONFDIR?=${LOCALBASE}/etc
-CONFIGURE_ARGS+=--sysconfdir=${VTUN_SYSCONFDIR}
-BUILD_DEFS+= VTUN_SYSCONFDIR
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-FILES_SUBST= VTUN_SYSCONFDIR=${VTUN_SYSCONFDIR}
+FILES_SUBST= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
FILES_SUBST+= CAT=${CAT:Q}
FILES_SUBST+= CHMOD=${CHMOD:Q}
FILES_SUBST+= CMP=${CMP:Q}