[HEADSUP] devel/pkgconfig is gone, long live devel/pkgconf

Baptiste Daroussin bapt at FreeBSD.org
Thu Jul 26 06:12:50 UTC 2012


Hi all,

We have two problems with devel/pkg-config, the first one is hopefully now
solved, the second one is in the slow way to be solved.

Let's first start with the first one:

1/ since 0.26 devel/pkg-config expects pkg-config and glib2 to be present to be
able to built, and glib2 also depends on pkg-config, this prevent bootstrapping
pkg-config and thus prevented us from upgrading devel/pkg-config to a newer
version than 0.25.

Hopefully some people decided to work on viable alternative, one of them being
devel/pkgconf, which already have the feature set from 0.27 and is in active
developpement.

We just switched devel/pkg-config to devel/pkgconf for that reason (see
UPDATING for instructions)

Now the second problem.

2/ USE_GNOME= pkgconfig macro was the most used macro to pkg-config support to
your port, problem is that macro pushed both run and build dependency. Which in
most cases was wrong.

More than that lots of ports do not even care about pkg-config because they do
depend on glib20 or xproto which run depend on it. so fixing/changing USE_GNOME=
pkgconfig cannot be done in one shot, too much impact.

We introduced a new macro deprecating USE_GOME= pkgconfig:
USE_PKGCONFIG which can take the following arguments:
 - yes (equivalent to build) 
 - build
 - run
 - both

So maintainers please convert your ports to using this macro, please be really
careful while converting your ports that no ports rely on your ports having a
run depends on pkg-config. (this will break package building on pointyhat and
any package building for binary only users!)

Please also check that if your ports actually needs pkgconfig or not and if it
needs it explicitly add the dependency what ever the ports you depends on are
having has a dependency.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120726/3ff1221d/attachment.pgp


More information about the freebsd-ports mailing list