mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
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
This commit is contained in:
@@ -511,3 +511,16 @@ Index: pkg-config-0.23/glib-1.2.10/configure.in
|
||||
|
||||
|
||||
if cmp -s $outfile glibconfig.h; then
|
||||
Index: pkg-config-0.23/glib-1.2.10/glib.m4
|
||||
===================================================================
|
||||
--- pkg-config-0.23.orig/glib-1.2.10/glib.m4 2008-04-14 23:34:39.000000000 +0100
|
||||
+++ pkg-config-0.23/glib-1.2.10/glib.m4 2008-04-14 09:26:29.000000000 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
|
||||
dnl gthread is specified in MODULES, pass to glib-config
|
||||
dnl
|
||||
-AC_DEFUN(AM_PATH_GLIB,
|
||||
+AC_DEFUN([AM_PATH_GLIB],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the glib-config script
|
||||
dnl
|
||||
|
||||
@@ -4,9 +4,3 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
|
||||
S = "${WORKDIR}/pkg-config-${PV}/"
|
||||
inherit native
|
||||
DEPENDS = ""
|
||||
|
||||
do_configure() {
|
||||
gnu-configize
|
||||
libtoolize --force
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
@@ -5,9 +5,10 @@ It replaces the ubiquitous *-config scripts you may have \
|
||||
seen with a single tool."
|
||||
HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
|
||||
LICENSE = "GPL"
|
||||
PR = "r6"
|
||||
PR = "r7"
|
||||
|
||||
SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
|
||||
file://autofoo.patch;patch=1 \
|
||||
file://sysrootfix.patch;patch=1 \
|
||||
file://glibconfig-sysdefs.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
require pkgconfig.inc
|
||||
|
||||
SRC_URI += "file://autofoo.patch;patch=1"
|
||||
|
||||
DEPENDS += "glib-2.0"
|
||||
EXTRA_OECONF = "--with-installed-glib"
|
||||
|
||||
Reference in New Issue
Block a user