diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/pkgconf | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pkgconf')
-rw-r--r-- | meta/recipes-devtools/pkgconf/pkgconf_1.7.4.bb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/pkgconf/pkgconf_1.7.4.bb b/meta/recipes-devtools/pkgconf/pkgconf_1.7.4.bb index 93832105f0..04991b1f01 100644 --- a/meta/recipes-devtools/pkgconf/pkgconf_1.7.4.bb +++ b/meta/recipes-devtools/pkgconf/pkgconf_1.7.4.bb | |||
@@ -7,7 +7,7 @@ HOMEPAGE = "http://pkgconf.org" | |||
7 | BUGTRACKER = "https://github.com/pkgconf/pkgconf/issues" | 7 | BUGTRACKER = "https://github.com/pkgconf/pkgconf/issues" |
8 | SECTION = "devel" | 8 | SECTION = "devel" |
9 | PROVIDES += "pkgconfig" | 9 | PROVIDES += "pkgconfig" |
10 | RPROVIDES_${PN} += "pkgconfig" | 10 | RPROVIDES:${PN} += "pkgconfig" |
11 | 11 | ||
12 | # The pkgconf license seems to be functionally equivalent to BSD-2-Clause or | 12 | # The pkgconf license seems to be functionally equivalent to BSD-2-Clause or |
13 | # ISC, but has different wording, so needs its own name. | 13 | # ISC, but has different wording, so needs its own name. |
@@ -26,13 +26,13 @@ inherit autotools | |||
26 | 26 | ||
27 | EXTRA_OECONF += "--with-pkg-config-dir='${libdir}/pkgconfig:${datadir}/pkgconfig'" | 27 | EXTRA_OECONF += "--with-pkg-config-dir='${libdir}/pkgconfig:${datadir}/pkgconfig'" |
28 | 28 | ||
29 | do_install_append () { | 29 | do_install:append () { |
30 | # Install a wrapper which deals, as much as possible with pkgconf vs | 30 | # Install a wrapper which deals, as much as possible with pkgconf vs |
31 | # pkg-config compatibility issues. | 31 | # pkg-config compatibility issues. |
32 | install -m 0755 "${WORKDIR}/pkg-config-wrapper" "${D}${bindir}/pkg-config" | 32 | install -m 0755 "${WORKDIR}/pkg-config-wrapper" "${D}${bindir}/pkg-config" |
33 | } | 33 | } |
34 | 34 | ||
35 | do_install_append_class-native () { | 35 | do_install:append:class-native () { |
36 | # Install a pkg-config-native wrapper that will use the native sysroot instead | 36 | # Install a pkg-config-native wrapper that will use the native sysroot instead |
37 | # of the MACHINE sysroot, for using pkg-config when building native tools. | 37 | # of the MACHINE sysroot, for using pkg-config when building native tools. |
38 | sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \ | 38 | sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \ |
@@ -47,11 +47,11 @@ do_install_append_class-native () { | |||
47 | # When using the RPM generated automatic package dependencies, some packages | 47 | # When using the RPM generated automatic package dependencies, some packages |
48 | # will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by | 48 | # will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by |
49 | # specifying an appropriate provide. | 49 | # specifying an appropriate provide. |
50 | RPROVIDES_${PN} += "pkgconfig(pkg-config)" | 50 | RPROVIDES:${PN} += "pkgconfig(pkg-config)" |
51 | 51 | ||
52 | # Include pkg.m4 in the main package, leaving libpkgconf dev files in -dev | 52 | # Include pkg.m4 in the main package, leaving libpkgconf dev files in -dev |
53 | FILES_${PN}-dev_remove = "${datadir}/aclocal" | 53 | FILES:${PN}-dev:remove = "${datadir}/aclocal" |
54 | FILES_${PN} += "${datadir}/aclocal" | 54 | FILES:${PN} += "${datadir}/aclocal" |
55 | 55 | ||
56 | BBCLASSEXTEND += "native nativesdk" | 56 | BBCLASSEXTEND += "native nativesdk" |
57 | 57 | ||
@@ -64,4 +64,4 @@ pkgconf_sstate_fixup_esdk () { | |||
64 | fi | 64 | fi |
65 | } | 65 | } |
66 | 66 | ||
67 | SSTATEPOSTUNPACKFUNCS_append_class-native = " pkgconf_sstate_fixup_esdk" | 67 | SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconf_sstate_fixup_esdk" |