pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36020: do-install not setting PATH



The following reply was made to PR pkg/36020; it has been noted by GNATS.

From: Roland Illig <rillig%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/36020: do-install not setting PATH
Date: Sat, 17 Mar 2007 18:13:51 +0100

 reed%reedmedia.net@localhost wrote:
 > echo shell PATH is $PATH
 > shell PATH is 
 > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:
 > /sbin:/usr/sbin:/sbin:/usr/sbin
 > libtool --mode=install /usr/bin/install -c -o root -g root -m 555 
 > /opt/pkgsrc/pkgsrc/mail/imap-uw/work/imap-2004g/c-client/libc-client.la 
 > /usr/pkg/lib
 > /bin/sh: libtool: not found
 >
 >
 >
 >>Fix:
 > 
 > Make sure PATH includes the work/.*/bin directories during do-install 
 > target. 
 
 Can someone remind me please why we have "$$PATH" (the shell variable) 
 and not ${PATH:Q} (the make variable) in the _ROOT_CMD? I know I had 
 changed this once, but only for a few days, because it broke something.
 
 Why should the do-install PATH _not_ contain the pkgsrc wrapper 
 directories? Aren't sed(1) and awk(1) (instead of ${SED} and ${AWK}) 
 expected to work here too, no matter how limited the platform's 
 utilities are?
 
 Roland
 



Home | Main Index | Thread Index | Old Index