Subject: pkg/36413: mk/flavor/pkg/metadata.mk: Rev 1.21 shell subst not supported on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Joachim König <him@online.de>
List: pkgsrc-bugs
Date: 05/30/2007 09:40:03
>Number:         36413
>Category:       pkg
>Synopsis:       mk/flavor/pkg/metadata.mk: Rev 1.21 shell subst not supported on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 30 09:40:03 +0000 2007
>Originator:     Joachim König
>Release:        NetBSD 4.99.20 i386
>Organization:
>Environment:


SunOS ratemal 5.10 Generic_125100-04 sun4u sparc SUNW,Sun-Fire-V245


>Description:


trying to build e.g. converters/libiconv on Solaris (5.10) leads to an
error during install. due to a "bad shell substition".

The reason is the change in Revision 1.21 of the file that tries
to take $DESTDIR into account. The substitution is not supported
by /usr/xpg4/bin/sh on Solaris.


>How-To-Repeat:


cd /usr/pkgsrc/converters/libiconv && bmake install


>Fix:


do the substitution differently