diff options
| author | Joshua Lock <josh@linux.intel.com> | 2010-06-22 13:20:08 +0100 |
|---|---|---|
| committer | Joshua Lock <josh@linux.intel.com> | 2010-06-25 14:54:40 +0100 |
| commit | 4f14e0a240f5d6e4eeecdb4bbbae7205e2070cab (patch) | |
| tree | 6dbed655b94c57e9fa3665c3c6c45ee439a8977f /meta/packages/pkgconfig/pkgconfig.inc | |
| parent | c27b95110949fbb36ea056757650cdb338655ba0 (diff) | |
| download | poky-4f14e0a240f5d6e4eeecdb4bbbae7205e2070cab.tar.gz | |
pkgconfig: add patch to disable legacy scripts such as glib-config
On an F13 host with glib-config installed pkgconfig-native can get into a
horrible state with recursive calls between pkg-config and glib-config.
The patch adds a configure time option to disable legacy script support in
pkgconfig and makes use of the option for Poky.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/pkgconfig/pkgconfig.inc')
| -rw-r--r-- | meta/packages/pkgconfig/pkgconfig.inc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/packages/pkgconfig/pkgconfig.inc b/meta/packages/pkgconfig/pkgconfig.inc index 463faf3fad..c64037299e 100644 --- a/meta/packages/pkgconfig/pkgconfig.inc +++ b/meta/packages/pkgconfig/pkgconfig.inc | |||
| @@ -5,19 +5,20 @@ It replaces the ubiquitous *-config scripts you may have \ | |||
| 5 | seen with a single tool." | 5 | seen with a single tool." |
| 6 | HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/" | 6 | HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/" |
| 7 | LICENSE = "GPL" | 7 | LICENSE = "GPL" |
| 8 | PR = "r7" | 8 | PR = "r8" |
| 9 | 9 | ||
| 10 | DEPENDS = "glib-2.0" | 10 | DEPENDS = "glib-2.0" |
| 11 | DEPENDS_virtclass-native = "" | 11 | DEPENDS_virtclass-native = "" |
| 12 | DEPENDS_virtclass-nativesdk = "" | 12 | DEPENDS_virtclass-nativesdk = "" |
| 13 | EXTRA_OECONF = "--with-installed-glib" | 13 | EXTRA_OECONF = "--with-installed-glib --disable-legacy-scripts" |
| 14 | EXTRA_OECONF_virtclass-native = "" | 14 | EXTRA_OECONF_virtclass-native = "--disable-legacy-scripts" |
| 15 | EXTRA_OECONF_virtclass-nativesdk = "" | 15 | EXTRA_OECONF_virtclass-nativesdk = "--disable-legacy-scripts" |
| 16 | 16 | ||
| 17 | SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \ | 17 | SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \ |
| 18 | file://autofoo.patch;patch=1 \ | 18 | file://autofoo.patch \ |
| 19 | file://sysrootfix.patch;patch=1 \ | 19 | file://sysrootfix.patch \ |
| 20 | file://glibconfig-sysdefs.h" | 20 | file://glibconfig-sysdefs.h \ |
| 21 | file://disable-legacy.patch" | ||
| 21 | 22 | ||
| 22 | S = "${WORKDIR}/pkg-config-${PV}/" | 23 | S = "${WORKDIR}/pkg-config-${PV}/" |
| 23 | 24 | ||
