General binary packages issue: pkg-config *.pc has hadcodedbase directory

Kris Kennaway kris at
Fri May 7 15:30:28 PDT 2004

Kyryll Mirnenko wrote:
>   I use two harddrives & have to split the packages I install between them,
> so I has 2 default installation bases (/usr/local & /usr/X11R6) and one more
> for the 2nd drive: /usr2 . I found all packages contain pkg-config congifs
> (*.pc) hardcoded to package default location, not to the one specified with
> -p option to pkg-add

Yes, it's set at compile time and cannot be changed at install time.  -p 
is not generally useful for this reason.  In your situation you need to 
use ports instead or make a symlink.


More information about the freebsd-ports mailing list