pkgsrc-Bugs archive

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

Re: pkg/35742: mail/wl contains undeclared dependancy upon bash



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

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/35742: mail/wl contains undeclared dependancy upon bash 
Date: Wed, 21 Feb 2007 01:48:36 +0700

   |    mail/wl looks for  /usr/pkg/bin/bash  -- which would be fine
   |    (well, OK) if it had a dependency upon bash, but it doesn't...
 
 Actually, another possibility is that this is using ${SHELL}
 (the shell I usually use is bash, but unless demanded by
 something, or actually being built itself, that won't exist
 in the pkg_comp sandbox).
 
 Using random (non pkgsrc specific) user environment in the
 build process is almost certainly a bad idea - if this turns
 out to be the cause of my problem, please switch from using
 ${SHELL} to just use "sh".
 
 After all there's no guarantee that the shell the user logs
 in as (and which becomes ${SHELL} even has a syntax even
 vaguelly similar to sh(1)'s syntax - not even (for example)
 as similar as csh's is.   Imagine a user with a lisp based shell...
 
 kre
 



Home | Main Index | Thread Index | Old Index