diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-02-17 00:01:26 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-02-17 00:01:26 +0000 |
commit | ad1e77b3a00e3fc39957de698a08d9f5a063bc84 (patch) | |
tree | 2c28b62783684c3a86b9d58b0adef90864c07982 /net/samba/Makefile | |
parent | 4bc358ffaaa3c4c0a577c627e8dc317b6c85876f (diff) | |
download | pkgsrc-ad1e77b3a00e3fc39957de698a08d9f5a063bc84.tar.gz |
Enable smbmount support under Linux.
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r-- | net/samba/Makefile | 9 |
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 \ |