summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-14 23:00:52 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-14 23:00:52 +0000
commit9bedb92e21cecfcc653078531f4389003abea82c (patch)
tree02dd43b6d2cd74a27db77ab559f9ce9e22285dbe
parent04f6ecb3e67c93379c229d35ace8bce00ceeb092 (diff)
downloadpoky-9bedb92e21cecfcc653078531f4389003abea82c.tar.gz
pkgconfig: Remove custom do_configure from pkgconfig-native, tweak autofoo.patch to fix some missing quotes apply autofoo.patch to all versions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4262 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch13
-rw-r--r--meta/packages/pkgconfig/pkgconfig-native_0.23.bb6
-rw-r--r--meta/packages/pkgconfig/pkgconfig.inc3
-rw-r--r--meta/packages/pkgconfig/pkgconfig_0.23.bb2
4 files changed, 15 insertions, 9 deletions
diff --git a/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch b/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch
index 9a78f3bfd0..97895387f5 100644
--- a/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch
+++ b/meta/packages/pkgconfig/pkgconfig-0.23/autofoo.patch
@@ -511,3 +511,16 @@ Index: pkg-config-0.23/glib-1.2.10/configure.in
511 511
512 512
513 if cmp -s $outfile glibconfig.h; then 513 if cmp -s $outfile glibconfig.h; then
514Index: pkg-config-0.23/glib-1.2.10/glib.m4
515===================================================================
516--- pkg-config-0.23.orig/glib-1.2.10/glib.m4 2008-04-14 23:34:39.000000000 +0100
517+++ pkg-config-0.23/glib-1.2.10/glib.m4 2008-04-14 09:26:29.000000000 +0100
518@@ -5,7 +5,7 @@
519 dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
520 dnl gthread is specified in MODULES, pass to glib-config
521 dnl
522-AC_DEFUN(AM_PATH_GLIB,
523+AC_DEFUN([AM_PATH_GLIB],
524 [dnl
525 dnl Get the cflags and libraries from the glib-config script
526 dnl
diff --git a/meta/packages/pkgconfig/pkgconfig-native_0.23.bb b/meta/packages/pkgconfig/pkgconfig-native_0.23.bb
index d167bd7699..24497a9866 100644
--- a/meta/packages/pkgconfig/pkgconfig-native_0.23.bb
+++ b/meta/packages/pkgconfig/pkgconfig-native_0.23.bb
@@ -4,9 +4,3 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
4S = "${WORKDIR}/pkg-config-${PV}/" 4S = "${WORKDIR}/pkg-config-${PV}/"
5inherit native 5inherit native
6DEPENDS = "" 6DEPENDS = ""
7
8do_configure() {
9 gnu-configize
10 libtoolize --force
11 oe_runconf
12}
diff --git a/meta/packages/pkgconfig/pkgconfig.inc b/meta/packages/pkgconfig/pkgconfig.inc
index 6fec0c3645..58c6f90f19 100644
--- a/meta/packages/pkgconfig/pkgconfig.inc
+++ b/meta/packages/pkgconfig/pkgconfig.inc
@@ -5,9 +5,10 @@ It replaces the ubiquitous *-config scripts you may have \
5seen with a single tool." 5seen with a single tool."
6HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/" 6HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
7LICENSE = "GPL" 7LICENSE = "GPL"
8PR = "r6" 8PR = "r7"
9 9
10SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \ 10SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
11 file://autofoo.patch;patch=1 \
11 file://sysrootfix.patch;patch=1 \ 12 file://sysrootfix.patch;patch=1 \
12 file://glibconfig-sysdefs.h" 13 file://glibconfig-sysdefs.h"
13 14
diff --git a/meta/packages/pkgconfig/pkgconfig_0.23.bb b/meta/packages/pkgconfig/pkgconfig_0.23.bb
index 39fdc30f2c..10ce0fc9c3 100644
--- a/meta/packages/pkgconfig/pkgconfig_0.23.bb
+++ b/meta/packages/pkgconfig/pkgconfig_0.23.bb
@@ -1,6 +1,4 @@
1require pkgconfig.inc 1require pkgconfig.inc
2 2
3SRC_URI += "file://autofoo.patch;patch=1"
4
5DEPENDS += "glib-2.0" 3DEPENDS += "glib-2.0"
6EXTRA_OECONF = "--with-installed-glib" 4EXTRA_OECONF = "--with-installed-glib"