pkgsrc-Bugs archive

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

Re: pkg/55952: Problems with /usr/pkg hardcoding in pkgsrc



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

From: John Klos <john%ziaspace.com@localhost>
To: Jonathan Perkin <jperkin%joyent.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost, pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/55952: Problems with /usr/pkg hardcoding in pkgsrc
Date: Mon, 25 Jan 2021 20:12:20 +0000 (UTC)

 >> ./bootstrap --abi 64 --full --make-jobs 8 --prefer-pkgsrc --prefix /usr/local
 >
 > I think the problem here is that "--prefer-pkgsrc" is not a valid
 > argument by itself, it should be "--prefer-pkgsrc yes" or similar.
 >
 > The getopt parsing is a little fragile and is simply shifting over
 > your "--prefix" argument, and then ignoring an unknown "/usr/local"
 > argument, thus you're getting the default, and no helpful warning.
 >
 > We should definitely make it more robust.
 
 That's what it was? Damn. Well, yes, it should be more robust.
 
 Thank you,
 John Klos
 


Home | Main Index | Thread Index | Old Index