summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2002-01-21 17:31:02 +0000
committerzuntum <zuntum@pkgsrc.org>2002-01-21 17:31:02 +0000
commit0d4ac27951f9daf0e6d44f7fdecb5042592206a2 (patch)
tree9d264241b2982cd548ab6573615c4296470a3f8a /mk
parent933382a5245a767c20bbc20d83527bbff143be50 (diff)
downloadpkgsrc-0d4ac27951f9daf0e6d44f7fdecb5042592206a2.tar.gz
Add QMAILDIR variable that defaults to /var/qmail, may be set in /etc/mk.conf
Also substitute QMAILDIR in PLIST because more packages than just mail/qmail need it.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.defaults.mk7
-rw-r--r--mk/bsd.pkg.mk5
2 files changed, 9 insertions, 3 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index d2d24876fbc..41d3c971565 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.33 2002/01/19 21:29:41 agc Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.34 2002/01/21 17:31:02 zuntum Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -1062,6 +1062,11 @@ PVM_SSH?= ${LOCALBASE}/bin/ssh
# Possible: Any rsh/ssh program.
# Default: /usr/bin/ssh if it exists, otherwise ${LOCALBASE}/bin/ssh
+QMAILDIR?= /var/qmail
+# Specify the directory for qmail installation
+# Possible: any valid location
+# Default: /var/qmail
+
QPOPPER_FAC?= LOCAL1
# Used by qpopper package as the default syslog facility.
# Possible: syslog(3)'s facility string without preceding "LOG_".
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 688067ebf71..e6a406b62e8 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.908 2002/01/21 16:31:42 zuntum Exp $
+# $NetBSD: bsd.pkg.mk,v 1.909 2002/01/21 17:31:03 zuntum Exp $
#
# This file is in the public domain.
#
@@ -508,7 +508,8 @@ PLIST_SUBST+= OPSYS=${OPSYS} \
CHOWN=${CHOWN:Q} \
MKDIR=${MKDIR:Q} \
RMDIR=${RMDIR:Q} \
- TRUE=${TRUE:Q}
+ TRUE=${TRUE:Q} \
+ QMAILDIR=${QMAILDIR}
.if defined(PERL5_SITELIB)
PLIST_SUBST+= PERL5_SITELIB=${PERL5_SITELIB:S/^${LOCALBASE}\///}
.endif