diff options
author | jlam <jlam@pkgsrc.org> | 2004-09-12 05:00:53 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-09-12 05:00:53 +0000 |
commit | 20fcfd595a9c6c7dbba15cb5f34b11935383a297 (patch) | |
tree | baa00122a179d091281ecb4ae28f946b774efd6d /net/samba/options.mk | |
parent | 5f0c6d2ab24bf9fb29e832e2d9bea3dda0013f43 (diff) | |
download | pkgsrc-20fcfd595a9c6c7dbba15cb5f34b11935383a297.tar.gz |
Different platforms expect different names for the NSS winbind and
WINS modules. Fix from PR pkg/26640 by John Benninghoff with
modifications by me.
Diffstat (limited to 'net/samba/options.mk')
-rw-r--r-- | net/samba/options.mk | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/net/samba/options.mk b/net/samba/options.mk index dd0d87bb015..146f78a45b1 100644 --- a/net/samba/options.mk +++ b/net/samba/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2004/08/22 19:32:52 jlam Exp $ +# $NetBSD: options.mk,v 1.3 2004/09/12 05:00:53 jlam Exp $ # Global and legacy options .if defined(USE_CUPS) && !empty(USE_CUPS:M[yY][eE][sS]) @@ -85,3 +85,23 @@ PLIST_SUBST+= SMBMOUNT= .else PLIST_SUBST+= SMBMOUNT="@comment " .endif + +### +### Determine the proper name for the winbind and WINS NSS modules. +### +NSS_WINBIND.${OPSYS}?= libnss_winbind.so +NSS_WINS.${OPSYS}?= libnss_wins.so + +NSS_WINBIND.AIX= WINBIND +NSS_WINS.AIX= # empty + +NSS_WINBIND.IRIX= libns_winbind.so +NSS_WINS.IRIX= libns_wins.so + +.if !empty(MACHINE_PLATFORM:MFreeBSD-5.*) +NSS_WINBIND.FreeBSD= nss_winbind.so +NSS_WINS.FreeBSD= nss_wins.so +.endif + +NSS_WINBIND= ${NSS_WINBIND.${OPSYS}} +NSS_WINS= ${NSS_WINS.${OPSYS}} |