summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-03-18 12:28:21 +0000
committerjperkin <jperkin>2016-03-18 12:28:21 +0000
commitd308eb8d5b291e749ce8212e676af1cc4235e960 (patch)
tree820db821fec8bb63c782ac3da851122c8948aa27 /net/samba
parentabb898697d7d69801b986123796b7e53f59731e0 (diff)
downloadpkgsrc-d308eb8d5b291e749ce8212e676af1cc4235e960.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