]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
pkgconf: upgrade to version 1.4.2
authorMaxin B. John <maxin.john@intel.com>
Mon, 19 Feb 2018 08:36:52 +0000 (10:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Feb 2018 10:31:35 +0000 (10:31 +0000)
pkgconf improved compatibility with freedesktop.org pkg-config.
So, we don't need to unset PKG_CONFIG_SYSROOT_DIR in wrappers.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in
meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in
meta/recipes-devtools/pkgconf/pkgconf/pkg-config-wrapper
meta/recipes-devtools/pkgconf/pkgconf_1.4.2.bb [moved from meta/recipes-devtools/pkgconf/pkgconf_1.4.0.bb with 95% similarity]

index 4fc9b0a4a7bd4c975fd5425e72063a4a1e5c1100..d4ac71dff233a573efd818918a66c6606230c255 100644 (file)
@@ -5,7 +5,6 @@
 if [ "pkg-config-native" = "`basename $0`" ] ; then
        PKG_CONFIG_PATH="@PATH_NATIVE@"
        PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
-       unset PKG_CONFIG_SYSROOT_DIR
 else
        # in this case check if we are in the esdk
        if [ "$OE_SKIP_SDK_CHECK" = "1" ] ; then
@@ -16,9 +15,8 @@ else
                if ( echo $parentpid_info | grep -q check-lxdialog ) ; then
                        PKG_CONFIG_PATH="@PATH_NATIVE@"
                        PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
-                       unset PKG_CONFIG_SYSROOT_DIR
                fi
        fi
 fi
 
-pkg-config.real "$@"
+pkg-config "$@"
index 9ed30a0d800a4eb827feea82993a53e37114361a..c2e86e5ac192e449985a34d7d86336412fc8e82d 100644 (file)
@@ -1,6 +1,5 @@
 #! /bin/sh
 
 PKG_CONFIG_PATH="@PATH_NATIVE@"
-unset PKG_CONFIG_SYSROOT_DIR
 
 pkg-config "$@"
index 695f349566de77ebe1e6bdd39928d72b08dd8c70..fc9b48803fc41a8d21c030290ff1019d5eef879f 100755 (executable)
@@ -4,13 +4,4 @@
 # Copyright (C) 2015 Christopher Larson <chris_larson@mentor.com>
 # License: MIT (see COPYING.MIT at the root of the repository for terms)
 
-for arg; do
-    case "$arg" in
-        --variable|--variable=*)
-            # pkg-config doesn't sysroot-prefix user variables
-            unset PKG_CONFIG_SYSROOT_DIR
-            ;;
-    esac
-done
-
 exec pkgconf "$@"
similarity index 95%
rename from meta/recipes-devtools/pkgconf/pkgconf_1.4.0.bb
rename to meta/recipes-devtools/pkgconf/pkgconf_1.4.2.bb
index 48ba5982e33f8246d60b78e5d5109919cc7a9cef..ea7b66602198bb86b96986b9a75c22185e214dac 100644 (file)
@@ -21,8 +21,8 @@ SRC_URI = "\
     file://pkg-config-native.in \
     file://pkg-config-esdk.in \
 "
-SRC_URI[md5sum] = "c509c0dad5a70aa4bc3210557b7eafce"
-SRC_URI[sha256sum] = "1d112ff35dad516ffbfbdb013df3a035140618fe7632ec44ffa894a9c713301b"
+SRC_URI[md5sum] = "678d242b4eef1754bba6a58642af10bb"
+SRC_URI[sha256sum] = "bab39371d4ab972be1d539a8b10b6cc21f8eafc97f617102e667e82bd32eb234"
 
 inherit autotools update-alternatives