diff options
Diffstat (limited to 'meta/recipes-devtools/pkgconfig/pkgconfig_git.bb')
-rw-r--r-- | meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 14 |
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 | |||
30 | EXTRA_OECONF += "--disable-indirect-deps" | 30 | EXTRA_OECONF += "--disable-indirect-deps" |
31 | 31 | ||
32 | PACKAGECONFIG ??= "glib" | 32 | PACKAGECONFIG ??= "glib" |
33 | PACKAGECONFIG_class-native = "" | 33 | PACKAGECONFIG:class-native = "" |
34 | PACKAGECONFIG_class-nativesdk = "" | 34 | PACKAGECONFIG:class-nativesdk = "" |
35 | 35 | ||
36 | PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" | 36 | PACKAGECONFIG[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. |
45 | FILES_${PN}-dev = "" | 45 | FILES:${PN}-dev = "" |
46 | FILES_${PN} += "${datadir}/aclocal/pkg.m4" | 46 | FILES:${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. |
51 | RPROVIDES_${PN} += "pkgconfig(pkg-config)" | 51 | RPROVIDES:${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. |
55 | do_install_append_class-native () { | 55 | do_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 | ||
75 | SSTATEPOSTUNPACKFUNCS_append_class-native = " pkgconfig_sstate_fixup_esdk" | 75 | SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconfig_sstate_fixup_esdk" |