pkgsrc-Users archive

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

Re: detect packages on system path when building

On Tuesday, May 05, 2020 01:53:59 PM you wrote:
> I'm sure this has been asked before, but I've searched and can't seem to
> find the answer.
> * I have foo installed in /usr/bin
> * I want to install bar with pkgsrc to /usr/local/bin
> * bar requires foo
> Pkgsrc detects packages in /usr/local, and so it attempts to install a local
> version of foo. How do I tell pkgsrc about system's /usr/bin/foo so as to
> avoid a new local install?
> Please trust that I've weighed the risk of doing this (and promise not to
> email should a package fail because of it).
> I've tried setting the LOCALBASE to /usr/bin temporarily during my build,
> but that failed and so I feel I'm on the wrong path there.
> What am I missing?
> Thanks!

Darn, I forgot to mention that for this question, I'm running pkgsrc on 
Slackware Linux.

Everything's working as expected on my NetBSD box.


Attachment: signature.asc
Description: This is a digitally signed message part.

Home | Main Index | Thread Index | Old Index