summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authortv <tv>2006-10-17 11:29:36 +0000
committertv <tv>2006-10-17 11:29:36 +0000
commit448aefd95fa95461516a00ccc1ba3d466fd20647 (patch)
tree43280956105c3655ec823e0468e93456044ee2e5 /net/samba
parent922b7ed8a9515f042dc5b4f2d2913a051ff17572 (diff)
downloadpkgsrc-448aefd95fa95461516a00ccc1ba3d466fd20647.tar.gz
Don't use .for with on-demand expanded variables that depend on an
extracted source tree. That expands them at parse time, and without the source tree, causes all kinds of headaches in bmake, e.g. /usr/bin/awk: can't open file /export/SRC/netbsd/pkgsrc/net/samba/work.i386/samba-3.0.22/source/Makefile.in source line number 1 make: "/usr/bin/awk -F= '/^LIBMSRPC_MAJOR/ { print $2; }' /export/SRC/netbsd/pkgsrc/net/samba/work.i386/samba-3.0.22/source/Makefile.in" returned non-zero status Rewrite to use a shell loop.
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 5875b98003f..5d216742182 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.166 2006/10/17 05:46:09 rillig Exp $
+# $NetBSD: Makefile,v 1.167 2006/10/17 11:29:36 tv Exp $
.include "Makefile.mirrors"
@@ -137,10 +137,10 @@ SMBVERSION.smbclient= ${LIBSMBCLIENT_MAJOR} ${LIBSMBCLIENT_MAJOR}.${LIBSMBCLIENT
.PHONY: install-samba-lib-symlinks
install-samba-lib-symlinks:
.for l in ${SMBLIBS}
-. for v in ${SMBVERSION.${l}}
- cd ${SAMBA_LIBDIR} && rm -f lib${l}.so.${v} \
- && ln -s lib${l}.so lib${l}.so.${v}
-. endfor
+ for v in ${SMBVERSION.${l}}; do \
+ (cd ${SAMBA_LIBDIR} && rm -f lib${l}.so.$$v && \
+ ln -s lib${l}.so lib${l}.so.$$v); \
+ done
.endfor
post-extract: