pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Avoid usage of modern kinds of parameter...
details: https://anonhg.NetBSD.org/pkgsrc/rev/117070a0cd45
branches: trunk
changeset: 529417:117070a0cd45
user: heinz <heinz%pkgsrc.org@localhost>
date: Mon Jun 04 00:07:48 2007 +0000
description:
Avoid usage of modern kinds of parameter expansion (##, #, %%, %)
because /bin/sh on Solaris doesn't understand this syntax and bmake
uses this ancient shell.
bmake should really be built with /bin/ksh or /usr/xpg4/bin/sh as the
default shell.
diffstat:
mk/flavor/pkg/metadata.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 6cbc1a7d8a7b -r 117070a0cd45 mk/flavor/pkg/metadata.mk
--- a/mk/flavor/pkg/metadata.mk Sun Jun 03 23:28:15 2007 +0000
+++ b/mk/flavor/pkg/metadata.mk Mon Jun 04 00:07:48 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.22 2007/05/28 13:54:25 heinz Exp $
+# $NetBSD: metadata.mk,v 1.23 2007/06/04 00:07:48 heinz Exp $
######################################################################
### The targets below are all PRIVATE.
@@ -86,8 +86,9 @@
esac; \
for i in "" $$libs; do \
${TEST} "$$i" != "" || continue; \
- ${ECHO} "PROVIDES=$${i#${DESTDIR}}" >> ${.TARGET}.tmp; \
- done; \
+ ${ECHO} "PROVIDES=$${i}"; \
+ done | ${SED} -e 's,^PROVIDES=${DESTDIR},PROVIDES=,' \
+ >> ${.TARGET}.tmp; \
for req in "" $$requires; do \
${TEST} "$$req" != "" || continue; \
${ECHO} "REQUIRES=$$req" >> ${.TARGET}.tmp; \
Home |
Main Index |
Thread Index |
Old Index