pkgconf is a program which helps to configure compiler and linker flags for
development frameworks. It is similar to pkg-config, but was written from
scratch in Summer of 2011 to replace pkg-config, which now needs itself to
build itself.
===> The following configuration options are available for pkgconf-3.0.9,1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
devel/pkgconf: Update to 3.0.5
Move to muon + samurai build as autotools build system is deprecated in
3.0 series and removed in upstream main branch
Changelog: https://github.com/pkgconf/pkgconf/blob/pkgconf-3.0.5/NEWS
PR: 296339
Reviewed by: bapt (maintainer)
Exp-run by: antoine (previous iteration)
regression: bump packages known to trigger the pkg 2.1.1 regression
A regression was introduced in pkg 2.1.1 which results in at least those
packages ending up depending on themselves.
Bump to force rebuild them
devel/pkgconf: incorporate a patch from upstream
without this patch pkgconf will process PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR
backwards.
PR: 273961
Reported by: rozhuk.im@gmail.com
Patch by: vishwin
www/pkgconf: update to 2.0.3
This release only address the issue with modversion we fixed previously
with a custom patch.
No other changes incorporated
devel/pkgconf: fix regression introduced by last minute patch
the last minute patch was intended to fix a bug in pkgconf which broke
the expected behaviour of cabal (haskell)
$ pkgconf --modversion atf-c atf-c++
0.21
0.21
0.21
due to bad pattern matching, the fix was a bit too harsh and broke the
version comparison
$ pkgconf --modversion "gtk+-2.0 >= 2.0.0"
Reported by: cmt
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/pkgconf: accept share/pkgconfig
Since pkg-config then pkgconf was introduced, we as a project decided
the lib/pkgconfig was not suitable and moved all .pc files and installed
them into libdata/pkconfig instead.
This concerns the .pc file referring to potentially architecture dependant
information.
One thing that has been missed was that there may be some arch independant
.pc files only (like headers only libraries for example etc) then in
pkg-config but also in pkgconf it has been advertise to use share/pkgconfig
for those specific files. As this matches what hier(7) says about "share",
let's accept that in the default search path as well.
Reported by: Andrea Pappacoda <andrea@pappacoda.it>
Update pkgconf to 1.4.0
Update p5-PkgConfig-LibPkgConf to 0.08 which reflects some API changes [1]
PR: 224957
Exp-run by: antoine
Submitted by: sunpoet [1]
Change the search path to include ${PREFIX}/lib/pkgconfig ahead of the
usual ${PREFIX}/libdata/pkgconfig and /usr/libdata/pkgconfig. This
renders 82.6% of Mk/Uses/pathfix.mk obsolete.
Reviewed by: bapt
Approved by: bapt
Update to 1.2.0
Changes from 1.1.0 to 1.2.0:
----------------------------
* Features:
- new --path option lists the .pc files which provided the requested
dependencies
- new path relocation API: pkgconf_path_relocate(), which wraps functions such
as
realpath() and cygwin_conv_path().
- new --with-path option adds a path to the search list
- new --define-prefix and --dont-define-prefix features enable automatic
prefix
detection for relocatable SDKs. this is mostly useful on windows.
* Bug fixes:
- fragments: fix even more edge cases involving token concatenation
- path lists: don't attempt to collect path inodes if the filter is disabled
- path lists: explicitly avoid uninitialised data for the path inode cache
- client: properly handle --keep-system-cflags and --keep-system-libs
* Enhancements:
- windows: build libpkgconf as a DLL
- fragments: only munge fragments if sysroot_dir is actually set
- overall API: resolver flags have been moved to being a client-object setting
instead of used for every function invocation
Update to 1.1.0
* new Provides rule support which brings --print-provides to it's fullest
potential
* learning of path lists from toolchain environment variables to make
the toolchain include flag filtering more accurate
* the --pure flag which brings more of the pkgconf linker flag optimizations
to --static
* a new, more robust .pc file parser
* better handling of toolchain flag grouping like -isystem, -idirafter,
-Bdynamic and -Bstatic, as well as any -Wl options
* deduplication of path lists by device node and inode
* a new testsuite based on kyua, the BSD testing framework
* a fully stable libpkgconf API and ABI, with documentation:
(http://pkgconf.readthedocs.io/en/latest/)
announcement:
http://kaniini.dereferenced.org/2016/12/31/pkgconf-1.1.0-release.html
Exp-run: antoine (on development version)
devel/pkgconf: Import patch to support non-newline-terminated .pc files
It fixes a bug in pkgconf(1) where the last line, if not terminated by a
newline character, would be chopped by one byte. This could lead to
incorrect flags returned by pkgconf(1).
An example is cppunit.pc from devel/cppunit: the cppunit.pc.in, used to
generate cppunit.pc, isn't newline-terminated. Our sed(1) currently adds
a newline to the last line, no matter what the input stream has. But
that's not the case with GNU sed and our sed should be soon fixed too. In
this case, "pkgconf --cflags cppunit" returned "-I" before this fix,
instead of "-I/usr/local/include" now.
This patch is already committed upstream.
Reviewed by: bapt@
Approved by: bapt@
Phabric: https://phabric.freebsd.org/D532
pkgconf update wasn't support to be updated previously, however it is just the
same version as 0.9.1 with our patches included.
Remove the now unnecessary patches.
Fix a corner case usage of pkgconf spotted in webkit-gtk3
Reported by: Gustau Perez i Querol, kwm (both via irc)
Tested by: Gustau Perez i Querol, kwm
Obtained from: pkgconf git