Fri Mar 18 12:28:21 2016 UTC ()
Don't create the /usr/lib symlinks on SmartOS, it is a read-only mount.


(jperkin)
diff -r1.35 -r1.36 pkgsrc/net/samba/options.mk

cvs diff -r1.35 -r1.36 pkgsrc/net/samba/options.mk (expand / switch to context diff)
--- pkgsrc/net/samba/options.mk 2016/02/25 16:20:52 1.35
+++ pkgsrc/net/samba/options.mk 2016/03/18 12:28:21 1.36
@@ -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 @@
 # 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