Subject: Re: libtools patch for Linux/dash
To: None <tech-pkg@netbsd.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: tech-pkg
Date: 09/01/2006 13:28:13
> I'm using pkgsrc-2006Q2 on Linux, Debian/Sarge, /bin/sh=dash, if it
> does matter.

Because of unstandard DASH extensions (suggested as a /bin/sh by
debian/sarge) pkgsrc becomes totally broken.

Either patching libtool (/bin/sh -> /path/to/pkgsrc/sh
or echo -> printf) or bootstrap-time error is needed.

0 ~>/bin/dash -c 'type echo; echo "\\1"'
echo is a shell builtin

0 ~>/bin/bash -c 'type echo; echo "\\1"'
echo is a shell builtin
\1
0 ~>/bin/dash -c 'echo "\\1"' | od -t x1
0000000 01 0a
0000002
0 0 cheusov>

-- 
Best regards, Aleksey Cheusov.