summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt/quilt.inc
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-devtools/quilt/quilt.inc
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-devtools/quilt/quilt.inc')
-rw-r--r--meta/recipes-devtools/quilt/quilt.inc30
1 files changed, 15 insertions, 15 deletions
diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc
index d7ecda7aaa..f85de384d2 100644
--- a/meta/recipes-devtools/quilt/quilt.inc
+++ b/meta/recipes-devtools/quilt/quilt.inc
@@ -14,36 +14,36 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \
14 file://0001-tests-Allow-different-output-from-mv.patch \ 14 file://0001-tests-Allow-different-output-from-mv.patch \
15" 15"
16 16
17SRC_URI_append_class-target = " file://gnu_patch_test_fix_target.patch" 17SRC_URI:append:class-target = " file://gnu_patch_test_fix_target.patch"
18 18
19SRC_URI[md5sum] = "6800c2404a2c0598ab2eff92a636ba70" 19SRC_URI[md5sum] = "6800c2404a2c0598ab2eff92a636ba70"
20SRC_URI[sha256sum] = "314b319a6feb13bf9d0f9ffa7ce6683b06919e734a41275087ea457cc9dc6e07" 20SRC_URI[sha256sum] = "314b319a6feb13bf9d0f9ffa7ce6683b06919e734a41275087ea457cc9dc6e07"
21 21
22inherit autotools-brokensep ptest 22inherit autotools-brokensep ptest
23 23
24INHIBIT_AUTOTOOLS_DEPS_class-native = "1" 24INHIBIT_AUTOTOOLS_DEPS:class-native = "1"
25PATCHTOOL_class-native = "patch" 25PATCHTOOL:class-native = "patch"
26 26
27CLEANBROKEN = "1" 27CLEANBROKEN = "1"
28 28
29EXTRA_OECONF = "--with-perl='${USRBINPATH}/env perl' --with-patch=patch" 29EXTRA_OECONF = "--with-perl='${USRBINPATH}/env perl' --with-patch=patch"
30EXTRA_OECONF_append_class-native = " --disable-nls" 30EXTRA_OECONF:append:class-native = " --disable-nls"
31EXTRA_AUTORECONF += "--exclude=aclocal" 31EXTRA_AUTORECONF += "--exclude=aclocal"
32 32
33CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash ac_cv_path_COLUMN=column" 33CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash ac_cv_path_COLUMN=column"
34 34
35# Make sure we don't have "-w" in shebang lines: it breaks using 35# Make sure we don't have "-w" in shebang lines: it breaks using
36# "/usr/bin/env perl" as parser 36# "/usr/bin/env perl" as parser
37do_configure_prepend () { 37do_configure:prepend () {
38 find ${S} -name "*.in" -exec sed -i -e "1s,^#\!.*@PERL@ -w$,#\! @PERL@\nuse warnings;," {} \; 38 find ${S} -name "*.in" -exec sed -i -e "1s,^#\!.*@PERL@ -w$,#\! @PERL@\nuse warnings;," {} \;
39} 39}
40 40
41# Don't setup symlinks to host utilities, we don't need them 41# Don't setup symlinks to host utilities, we don't need them
42do_configure_append () { 42do_configure:append () {
43 sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i ${S}/Makefile 43 sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i ${S}/Makefile
44} 44}
45 45
46do_configure_class-native () { 46do_configure:class-native () {
47 oe_runconf 47 oe_runconf
48} 48}
49 49
@@ -54,7 +54,7 @@ do_install () {
54 rm -rf ${D}/${datadir}/emacs 54 rm -rf ${D}/${datadir}/emacs
55} 55}
56 56
57do_install_append_class-native () { 57do_install:append:class-native () {
58 # Dummy quiltrc file for patch.bbclass 58 # Dummy quiltrc file for patch.bbclass
59 install -d ${D}${sysconfdir}/ 59 install -d ${D}${sysconfdir}/
60 touch ${D}${sysconfdir}/quiltrc 60 touch ${D}${sysconfdir}/quiltrc
@@ -75,16 +75,16 @@ do_install_ptest() {
75 75
76PACKAGES += "guards guards-doc" 76PACKAGES += "guards guards-doc"
77 77
78FILES_${PN} = "${sysconfdir} ${datadir}/quilt \ 78FILES:${PN} = "${sysconfdir} ${datadir}/quilt \
79 ${bindir}/quilt ${libdir}/quilt" 79 ${bindir}/quilt ${libdir}/quilt"
80FILES_guards = "${bindir}/guards" 80FILES:guards = "${bindir}/guards"
81FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}" 81FILES:${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
82FILES_guards-doc = "${mandir}/man1/guards.1" 82FILES:guards-doc = "${mandir}/man1/guards.1"
83 83
84RDEPENDS_${PN} = "bash patch diffstat bzip2 util-linux less" 84RDEPENDS:${PN} = "bash patch diffstat bzip2 util-linux less"
85RDEPENDS_${PN}_class-native = "diffstat-native patch-native bzip2-native" 85RDEPENDS:${PN}:class-native = "diffstat-native patch-native bzip2-native"
86 86
87RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \ 87RDEPENDS:${PN}-ptest = "make file sed gawk diffutils findutils ed perl \
88 perl-module-filehandle perl-module-getopt-std \ 88 perl-module-filehandle perl-module-getopt-std \
89 perl-module-posix perl-module-file-temp \ 89 perl-module-posix perl-module-file-temp \
90 perl-module-text-parsewords perl-module-overloading \ 90 perl-module-text-parsewords perl-module-overloading \