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

Kyryll A Mirnenko mirya at
Sat May 8 17:05:02 PDT 2004

> >   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.
> Kris

 Yeah, I do understand -p won't help (my HDDs're covered with heavy 
cross-symlinks net), but my idea is that port-compilers should deal with this 
to make *.pc paths being configured at install time

More information about the freebsd-ports mailing list