pkgsrc-Users archive

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

detect packages on system path when building

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? 


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

Home | Main Index | Thread Index | Old Index