Subject: Re: pkg/20477: defs.Linux.mk assumes sed is in /bin, isn't on
To: None <nb-pr@gendalia.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 02/24/2003 08:45:20
On Mon, 24 Feb 2003 nb-pr@gendalia.org wrote:
> pkgsrc/mk/defs.Linux.mk:SED?= /bin/sed
> but it's in /usr/bin/sed
On my Linux box, I added to my mk.conf:
EGREP= /usr/bin/egrep
FGREP= /usr/bin/fgrep
GREP= /usr/bin/grep
BASENAME= /usr/bin/basename
(These are not under /bin according to the Filesystem Hierarchy Standard;
sed is under /bin. Linux is not Linux.)
As a workaround, you can set your SED in /etc/mk.conf.
For the fix in defs.Linux.mk, they should probably just be set to
command name (no path), just like CMP is set.
Jeremy C. Reed
http://www.bsdnewsletter.com/