summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pkgconfig
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/pkgconfig')
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_git.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
index 964d85fa38..aa2692b922 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
@@ -30,8 +30,8 @@ inherit autotools
30EXTRA_OECONF += "--disable-indirect-deps" 30EXTRA_OECONF += "--disable-indirect-deps"
31 31
32PACKAGECONFIG ??= "glib" 32PACKAGECONFIG ??= "glib"
33PACKAGECONFIG_class-native = "" 33PACKAGECONFIG:class-native = ""
34PACKAGECONFIG_class-nativesdk = "" 34PACKAGECONFIG:class-nativesdk = ""
35 35
36PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" 36PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native"
37 37
@@ -42,17 +42,17 @@ BBCLASSEXTEND = "native nativesdk"
42# Set an empty dev package to ensure the base PN package gets 42# Set an empty dev package to ensure the base PN package gets
43# the pkg.m4 macros, pkgconfig does not deliver any other -dev 43# the pkg.m4 macros, pkgconfig does not deliver any other -dev
44# files. 44# files.
45FILES_${PN}-dev = "" 45FILES:${PN}-dev = ""
46FILES_${PN} += "${datadir}/aclocal/pkg.m4" 46FILES:${PN} += "${datadir}/aclocal/pkg.m4"
47 47
48# When using the RPM generated automatic package dependencies, some packages 48# When using the RPM generated automatic package dependencies, some packages
49# will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by 49# will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by
50# specifying an appropriate provide. 50# specifying an appropriate provide.
51RPROVIDES_${PN} += "pkgconfig(pkg-config)" 51RPROVIDES:${PN} += "pkgconfig(pkg-config)"
52 52
53# Install a pkg-config-native wrapper that will use the native sysroot instead 53# Install a pkg-config-native wrapper that will use the native sysroot instead
54# of the MACHINE sysroot, for using pkg-config when building native tools. 54# of the MACHINE sysroot, for using pkg-config when building native tools.
55do_install_append_class-native () { 55do_install:append:class-native () {
56 sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \ 56 sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
57 -e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \ 57 -e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \
58 < ${WORKDIR}/pkg-config-native.in > ${B}/pkg-config-native 58 < ${WORKDIR}/pkg-config-native.in > ${B}/pkg-config-native
@@ -72,4 +72,4 @@ pkgconfig_sstate_fixup_esdk () {
72 fi 72 fi
73} 73}
74 74
75SSTATEPOSTUNPACKFUNCS_append_class-native = " pkgconfig_sstate_fixup_esdk" 75SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconfig_sstate_fixup_esdk"