summaryrefslogtreecommitdiff
path: root/net/samba/Makefile
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1998-08-09 16:14:08 +0000
committerkim <kim@pkgsrc.org>1998-08-09 16:14:08 +0000
commitb93a4daed27240d6cab9bd821e4751bbbf0b0aea (patch)
treedb11d238bab933b6909ed1be013f90f66e57d100 /net/samba/Makefile
parent1953a75942f9d25c9336d4dad27cf289705d30f5 (diff)
downloadpkgsrc-b93a4daed27240d6cab9bd821e4751bbbf0b0aea.tar.gz
The password file for samba cannot generally be share between machines,
so place it in /etc/samba/private. Other machine dependent files (e.g. the printer defs) go now into /etc/samba by default.
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r--net/samba/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 3d591033bfd..5e98896a95d 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1998/06/22 12:58:34 agc Exp $
+# $NetBSD: Makefile,v 1.12 1998/08/09 16:14:08 kim Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/10/23 15:17:43 max Exp
#
@@ -14,7 +14,10 @@ STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/samba.sh.sample
SAMPLE_CONFIG= ${PREFIX}/etc/smb.conf.sample
SAMBA_SPOOL= /var/spool/samba
SAMBA_LOGDIR= /var/log
-SAMBA_PRIVATE= ${PREFIX}/private
+SAMBA_ETCDIR?= /etc/samba
+SAMBA_PRIVATE?= ${SAMBA_ETCDIR}/private
+
+MAKE_ENV+= ETCDIR=${SAMBA_ETCDIR} PRIVDIR=${SAMBA_PRIVATE}
.include "../../mk/bsd.prefs.mk"