summaryrefslogtreecommitdiff
path: root/net/samba/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-17 00:01:26 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-17 00:01:26 +0000
commitad1e77b3a00e3fc39957de698a08d9f5a063bc84 (patch)
tree2c28b62783684c3a86b9d58b0adef90864c07982 /net/samba/Makefile
parent4bc358ffaaa3c4c0a577c627e8dc317b6c85876f (diff)
downloadpkgsrc-ad1e77b3a00e3fc39957de698a08d9f5a063bc84.tar.gz
Enable smbmount support under Linux.
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r--net/samba/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 9f0a85be06d..e160a661420 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2004/02/06 19:04:25 jlam Exp $
+# $NetBSD: Makefile,v 1.114 2004/02/17 00:01:26 xtraeme Exp $
DISTNAME= samba-3.0.1
PKGREVISION= 1
@@ -122,6 +122,13 @@ FILES_SUBST+= PWD_MKDB=${PWD_MKDB:Q}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+.if ${OPSYS} == "Linux"
+CONFIGURE_ARGS+= --with-smbmount
+PLIST_SUBST+= SMBMOUNT=
+.else
+PLIST_SUBST+= SMBMOUNT="@comment "
+.endif
+
USE_PKGINSTALL= yes
CONF_FILES= ${EGDIR}/smb.conf.default ${SAMBA_ETCDIR}/smb.conf
SUPPORT_FILES_PERMS= ${EGDIR}/adduser.sh ${SAMBA_ETCDIR}/adduser \