pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Move PKG_SYSCONFBASE definition into bsd.pkg.defaul...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5dab37293ccd
branches: trunk
changeset: 460889:5dab37293ccd
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Sep 06 11:39:29 2003 +0000
description:
Move PKG_SYSCONFBASE definition into bsd.pkg.defaults.mk. This implies
that it's user-settable from /etc/mk.conf.
diffstat:
mk/bsd.pkg.defaults.mk | 8 +++++++-
mk/bsd.pkg.mk | 3 +--
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 2911edc29374 -r 5dab37293ccd mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk Sat Sep 06 11:28:13 2003 +0000
+++ b/mk/bsd.pkg.defaults.mk Sat Sep 06 11:39:29 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.178 2003/09/03 13:56:28 jlam Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.179 2003/09/06 11:39:29 jlam Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -163,6 +163,12 @@
# Possible: any of: overwrite, pkgviews
# Default: overwrite pkgviews
+PKG_SYSCONFBASE?= ${PREFIX}/etc
+# This is the main config directory under which all package configuration
+# files should be found.
+# Possible: any path you like
+# Default: ${PREFIX}/etc
+
PACKAGES?= ${_PKGSRCDIR}/packages
# Store generated packages on a per-architecture base
# Possible: any path you like
diff -r 2911edc29374 -r 5dab37293ccd mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sat Sep 06 11:28:13 2003 +0000
+++ b/mk/bsd.pkg.mk Sat Sep 06 11:39:29 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1262 2003/09/05 19:00:57 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1263 2003/09/06 11:39:30 jlam Exp $
#
# This file is in the public domain.
#
@@ -1241,7 +1241,6 @@
# Config file related settings - see Packages.txt
#
PKG_SYSCONFVAR?= ${PKGBASE}
-PKG_SYSCONFBASE?= ${PREFIX}/etc
.if defined(PKG_SYSCONFDIR.${PKG_SYSCONFVAR})
PKG_SYSCONFDIR= ${PKG_SYSCONFDIR.${PKG_SYSCONFVAR}}
PKG_SYSCONFBASEDIR= ${PKG_SYSCONFDIR.${PKG_SYSCONFVAR}}
Home |
Main Index |
Thread Index |
Old Index