pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: coreutils and GNU_PROGRAM_PREFIX
* On 2021-02-04 at 10:00 GMT, matthew green wrote:
> Jonathan Perkin writes:
> > * On 2021-02-04 at 01:26 GMT, matthew green wrote:
> >
> > > Jonathan Perkin writes:
> > > > * On 2021-02-03 at 03:31 GMT, matthew green wrote:
> > > >
> > > > > can we revert this change from 2012?
> > > > >
> > > > > https://mail-index.netbsd.org/pkgsrc-users/2012/05/27/msg016359.html
> > > > >
> > > > > it makes it impossible to install devel/idutils when coreutils
> > > > > is also installed now. this was not a problem for me until a
> > > > > sometime semi-recently when 'vlc' build was fixed and now needed
> > > > > coreutils installed.
> > > >
> > > > At this point, no. PKGGNUDIR is entrenched across pkgsrc, and many of
> > > > us rely on it to be specific about which utilities we want our target
> > > > users to have by default.
> > > >
> > > > For this particular case I'd suggest moving idutils to its own bin
> > > > prefix to avoid the conflict.
> > >
> > > this doesn't affect PKGGNUDIR does it? that's what ends
> > > up being /usr/pkg/gnu/bin/, and i'm not asking for any
> > > change to what is installed there.
> >
> > It would for those of us like me who set PKGGNUDIR=, i.e. empty so
> > that they are installed into /usr/pkg/bin, making GNU tools the
> > default.
> >
> > I set this for every single one of the builds I publish.
>
> i'm not suggesting that anything *by default* change, only
> that GNU_PROGRAM_PREFIX be revived as an optional feature.
> i'm not sure how this can break your setup.
Ah ok, I misunderstood your earlier email about making '' an invalid
setting.
So I think it should be possible, but there are some additional things
to consider, one of which is that there will still be CONFLICTS
entries that won't allow coreutils and id-utils to be installed
together.
Whether we start to make those CONFLICTS dependent on user settings,
I'm not sure. You would need to handle it from both sides.
But yeh, if it can be done cleanly I don't see why not, and then
people can set GNU_PROGRAM_PREFIX=gnu or something.
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Home |
Main Index |
Thread Index |
Old Index