summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-core/readline
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-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-core/readline')
-rw-r--r--meta/recipes-core/readline/readline.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
index 039ffdee00..7f7f5ad2ee 100644
--- a/meta/recipes-core/readline/readline.inc
+++ b/meta/recipes-core/readline/readline.inc
@@ -21,13 +21,13 @@ EXTRA_AUTORECONF += "--exclude=autoheader"
21 21
22LEAD_SONAME = "libreadline.so" 22LEAD_SONAME = "libreadline.so"
23 23
24do_configure_prepend () { 24do_configure:prepend () {
25 if [ ! -e ${S}/acinclude.m4 ]; then 25 if [ ! -e ${S}/acinclude.m4 ]; then
26 cat ${S}/aclocal.m4 > ${S}/acinclude.m4 26 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
27 fi 27 fi
28} 28}
29 29
30do_install_append () { 30do_install:append () {
31 # Make install doesn't properly install these 31 # Make install doesn't properly install these
32 oe_libinstall -so -C shlib libhistory ${D}${libdir} 32 oe_libinstall -so -C shlib libhistory ${D}${libdir}
33 oe_libinstall -so -C shlib libreadline ${D}${libdir} 33 oe_libinstall -so -C shlib libreadline ${D}${libdir}
@@ -42,15 +42,15 @@ do_install_append () {
42 42
43BBCLASSEXTEND = "native nativesdk" 43BBCLASSEXTEND = "native nativesdk"
44 44
45CONFFILES_${PN} += "${sysconfdir}/inputrc" 45CONFFILES:${PN} += "${sysconfdir}/inputrc"
46 46
47inherit update-alternatives 47inherit update-alternatives
48 48
49ALTERNATIVE_PRIORITY = "100" 49ALTERNATIVE_PRIORITY = "100"
50ALTERNATIVE_${PN}-doc = "history.3" 50ALTERNATIVE:${PN}-doc = "history.3"
51ALTERNATIVE_LINK_NAME[history.3] = "${mandir}/man3/history.3" 51ALTERNATIVE_LINK_NAME[history.3] = "${mandir}/man3/history.3"
52 52
53# OpenSuse injects versions into libreadline leading to conficits between our native one and theirs 53# OpenSuse injects versions into libreadline leading to conficits between our native one and theirs
54# see their spec file for where this is injected. Extra versioning is harmless so we just do the same. 54# see their spec file for where this is injected. Extra versioning is harmless so we just do the same.
55SRC_URI_append_class-native = " file://rl-native.map" 55SRC_URI:append:class-native = " file://rl-native.map"
56LDFLAGS_append_class-native = " -Wl,--version-script=${WORKDIR}/rl-native.map" 56LDFLAGS:append:class-native = " -Wl,--version-script=${WORKDIR}/rl-native.map"