pkgsrc-Users archive

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

Re: /bin/pwd defaults (Re: devel/gobject-introspection build can't find 'glib/gmacros.h')

On Thu, Jun 18, 2015 at 11:03:57AM -0400, Greg Troxel wrote:
> Joerg Sonnenberger <> writes:
> > On Thu, Jun 18, 2015 at 09:03:38AM -0400, Greg Troxel wrote:
> >> I'm talking about situations where pkgsrc is really in
> >> ~/NetBSD-current/pkgsrc and /usr/pkgsrc is a symlink to it, or something
> >> like that.  That's not a configuration problem; it's been within normal
> >> unix practice for decades.
> >
> > Nothing cares about /usr/pkgsrc. The location is not magical in any way.
> > If you shell resolves PWD, you can CD to /usr/pkgsrc, otherwise you
> > should use the physical path. That said, I don't think this is a typical
> > problem when hitting symlink issues, far from it.
> I'm not sure what typical means, but there have been multiple reports of
> trouble.  bash doesn't set $PWD to `/bin/pwd -P` and it seems other
> shells don't either.  Arguably this is POSIX's fault for specifying -L
> as the default /bin/pwd behavior.

The far more typical case AFAICT is ${PREFIX} or ${WRKOBJDIR} pointing
to a symlink or having one in the path, especially for things under


Home | Main Index | Thread Index | Old Index