question about pkgconf vs pkg-config

Waitman Gobble uzimac at da3m0n8t3r.com
Sat Sep 1 16:19:25 UTC 2012


Hi,

According to /usr/ports/UPDATING we are supposed to switch to pkgconf. 

20120726:
  AFFECTS: users of devel/pkg-config

  devel/pkg-config has been replaced by devel/pkgconf


I understand "replaced" to mean that pkg-config is out.


There does not appear to be a man page for pkgconf at the moment.


I have created a .pc file for libpq (databases/postgresql92-client), which works with pkg-config, ie
# pkg-config --libs libpq
-Wl,-rpath,/usr/local/lib -L/usr/local/lib  

it's not found by pkgconf

# pkgconf  --libs libpq
Package libpq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpq' found

ie,
gcc48 -Wall `pkg-config --cflags --libs libpq` ...
vs
gcc48 -Wall `pkgconf --cflags --libs libpq` ...


# man pkgconf
No manual entry for pkgconf




# pkgconf --list-all 
this list appears to be based on /var/db/pkgs, which maybe is the idea(?) anyhow, Postgres doesn't show up in --list-all.

I'm wondering about how to manually add libraries to pkgconf, or the proper way to get the Postgres Client port to register libpq. (and for example, libxine which appears to me to have a similar issue).

Thank you,

-- 
Waitman Gobble
San Jose California USA


More information about the freebsd-ports mailing list