summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-03-18 12:28:21 +0000
committerjperkin <jperkin@pkgsrc.org>2016-03-18 12:28:21 +0000
commit859e454e49e13ff21918ceff5a4bc16bc9283b93 (patch)
tree820db821fec8bb63c782ac3da851122c8948aa27 /net/samba
parentae77324973db744d0ef31b93902fe4612cb8129f (diff)
downloadpkgsrc-859e454e49e13ff21918ceff5a4bc16bc9283b93.tar.gz
Don't create the /usr/lib symlinks on SmartOS, it is a read-only mount.
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/samba/options.mk b/net/samba/options.mk
index 1ab4f3bcba2..25d73f799de 100644
--- a/net/samba/options.mk
+++ b/net/samba/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.35 2016/02/25 16:20:52 jperkin Exp $
+# $NetBSD: options.mk,v 1.36 2016/03/18 12:28:21 jperkin Exp $
# Recommended package options for various setups:
#
@@ -151,8 +151,10 @@ NSS_WINBIND_cmd= \
# Install a /usr/lib/${NSS_WINBIND:T} -> ${PREFIX}/${NSS_WINBIND} symlink
# Unfortunately NSS_WINDIND_cmd can not be used to determine whether the
# (de)install templates are needed or not.
+.if ${OS_VARIANT} != "SmartOS"
INSTALL_TEMPLATES+= INSTALL.nss_winbind
DEINSTALL_TEMPLATES+= DEINSTALL.nss_winbind
+.endif
.PHONY: samba-nss-winbind-install
post-install: samba-nss-winbind-install