summaryrefslogtreecommitdiffstats
path: root/package/pkgconf
Commit message (Collapse)AuthorAgeFilesLines
* pkgconf: fix incorrect variable-directory sysroot prefixingGustavo Zacarias2015-11-061-0/+58
| | | | | | | | | | | | | | | | | | | | | | | According to the pkg-config documents ("specification") when sysroot-prefixing is enabled via PKG_CONFIG_SYSROOT_DIR this should only be applied to -I/-L directories (includes, library directories), and not to all of the other variables that can specify a directory. However xorg uses mapdir/sdkdir in a similar fashion in what could be considered an abuse of the spec, hence needs to be prefixed as well. And what's more, it also uses includedir in a nonstandard fashion just requesting the value via 'pkg-config --variable=includedir libfoo' which doesn't pass the standard prefixing rules for the --cflags and --libs invocation. This patch makes pkgconf behave in the pkg-config specified way with the added exception for the includedir, libdir, mapdir and sdkdir variables which are prefixed. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkgconf: bump to version 0.9.12Gustavo Zacarias2015-10-054-73/+4
| | | | | | | | | | | | | | | Drop patches, they aren't required any more. It fixes a bug where inline comments cause issues, like: Libs: -lblah # -lbleh ...it would make pkgconf search for the '#' package This is required for the nettle 3.1.1 upgrade since howgeed.pc adjusts Libs according to static/dynamic builds using the comment feature. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/pkgconf: add hashFabio Porcedda2015-04-201-0/+2
| | | | | Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-2/+2
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-032-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkgconf: don't double prefix lib/include paths with sysrootThomas De Schampheleire2014-06-291-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | A .pc file could contain statements of the form: -L/usr/lib but also: -L/path/to/sysroot/usr/lib The latter form typically occurs when the dependency was configured with a statement like --with-xxx=$(STAGING_DIR)/usr. pkgconf only expects the first form, and prefixes it with the specified sysroot. However, this strategy would result in a double sysroot in the second case: -L/path/to/sysroot/path/to/sysroot/usr/lib This patch checks for the presence of the sysroot in the specified -L or -I directives, and only adds the sysroot when not already present. Partially fixes bug #5750 (https://bugs.busybox.net/show_bug.cgi?id=5750) Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-pkgconf: use --static option for static buildsVicente Olivert Riera2014-05-072-1/+15
| | | | | | | | | | | | | | Detect when BR2_PREFER_STATIC_LIBS is selected and modify the host pkg-config wrapper to append the --static option in that case. Fixes: http://autobuild.buildroot.net/results/161/161446dde7e8e774773eb2b34fd555f5ac22dd02/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pkgconf: rewrite variable sdkdir, needed by xdriver_xf86-video-intelBernd Kuhls2014-03-291-1/+3
| | | | | | | - rename patch file to include the apply order Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkg-config: remove deprecatedGustavo Zacarias2013-12-061-2/+0
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pkgconf: fix upstream URLThomas Petazzoni2013-10-301-1/+1
| | | | | | | | | | | | The upstream URL has changed to http://rabbit.dereferenced.org/~nenolod/distfiles/, updated the Buildroot pkgconf package accordingly. Fixes #6638. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reported-by: <masrur.macece@gmail.com> Cc: <masrur.macece@gmail.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkgconf: add license informationsThomas Petazzoni2013-01-201-0/+2
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkgconf: new packageGustavo Zacarias2012-10-294-0/+69
pkgconf is a drop-in replacement for pkg-config that doesn't need itself to build and just requires a C89 compiler. Instead of using a patch for hardcoded sysroot support (as the patch to pkg-config does) we rely instead on a wrapper script that takes the appropiate action. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud