summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2012-01-27 14:32:02 +0000
committeradam <adam@pkgsrc.org>2012-01-27 14:32:02 +0000
commit458adf38317e62bc14986fe7db9135661a4d4393 (patch)
tree2bbe9fabf8a1ddc8a44039fdcb8d584ea5b9bc99
parent5ce00ca5c48896af1f6622e45f2f7bfa3da123e4 (diff)
downloadpkgsrc-458adf38317e62bc14986fe7db9135661a4d4393.tar.gz
PLIST fix for other OSes other than NetBSD
-rw-r--r--net/samba35/Makefile10
-rw-r--r--net/samba35/PLIST3
-rw-r--r--net/samba35/PLIST.NetBSD2
3 files changed, 8 insertions, 7 deletions
diff --git a/net/samba35/Makefile b/net/samba35/Makefile
index 0e216b67ff5..83c742a05f5 100644
--- a/net/samba35/Makefile
+++ b/net/samba35/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/01/17 21:43:20 sbd Exp $
+# $NetBSD: Makefile,v 1.15 2012/01/27 14:32:02 adam Exp $
.include "../../net/samba/Makefile.mirrors"
@@ -104,10 +104,10 @@ FILES_SUBST+= MKTEMP=${MKTEMP:Q}
FILES_SUBST+= PWD_MKDB=${PWD_MKDB:Q}
.if ${OPSYS} == "NetBSD"
-.if !empty(PKG_OPTIONS:Mwinbind)
+. if !empty(PKG_OPTIONS:Mwinbind)
# Install a /usr/lib/nss_winbind.so.0 -> ${PREFIX}/lib/nss_winbind.so.0 symlink
INSTALL_TEMPLATES+= INSTALL.nss_winbind
-.endif
+. endif
.endif
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
@@ -166,10 +166,10 @@ post-install:
${DESTDIR}${PREFIX}/${EGDIR}
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/include/*.h
.if ${OPSYS} == "NetBSD"
-.if !empty(PKG_OPTIONS:Mwinbind)
+. if !empty(PKG_OPTIONS:Mwinbind)
${INSTALL_LIB} ${WRKDIR}/${DISTNAME}/nsswitch/nss_winbind.${SAMBA_LIBEXT} \
${DESTDIR}${PREFIX}/lib/nss_winbind.${SAMBA_LIBEXT}.0
-.endif
+. endif
.endif
.include "../../converters/libiconv/buildlink3.mk"
diff --git a/net/samba35/PLIST b/net/samba35/PLIST
index 998c598f3ba..ca4451e7c36 100644
--- a/net/samba35/PLIST
+++ b/net/samba35/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2011/12/16 23:21:45 asau Exp $
+@comment $NetBSD: PLIST,v 1.5 2012/01/27 14:32:02 adam Exp $
bin/eventlogadm
bin/findsmb
bin/ldbadd
@@ -48,7 +48,6 @@ lib/libtdb.${LIBEXT}
lib/libtdb.${LIBEXT}.1
${PLIST.winbind}lib/libwbclient.${LIBEXT}
${PLIST.winbind}lib/libwbclient.${LIBEXT}.0
-${PLIST.winbind}lib/nss_winbind.${LIBEXT}.0
lib/samba/auth/script.${LIBEXT}
lib/samba/charset/CP437.${LIBEXT}
lib/samba/charset/CP850.${LIBEXT}
diff --git a/net/samba35/PLIST.NetBSD b/net/samba35/PLIST.NetBSD
new file mode 100644
index 00000000000..eae3cec522c
--- /dev/null
+++ b/net/samba35/PLIST.NetBSD
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.NetBSD,v 1.1 2012/01/27 14:32:02 adam Exp $
+${PLIST.winbind}lib/nss_winbind.${LIBEXT}.0