diff options
| -rw-r--r-- | meta/recipes-devtools/quilt/quilt-native.inc | 18 | ||||
| -rw-r--r-- | meta/recipes-devtools/quilt/quilt-native_0.65.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/quilt/quilt.inc | 21 | ||||
| -rw-r--r-- | meta/recipes-devtools/quilt/quilt_0.65.bb | 6 |
4 files changed, 21 insertions, 26 deletions
diff --git a/meta/recipes-devtools/quilt/quilt-native.inc b/meta/recipes-devtools/quilt/quilt-native.inc deleted file mode 100644 index f6b1bd53af..0000000000 --- a/meta/recipes-devtools/quilt/quilt-native.inc +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native" | ||
| 2 | |||
| 3 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
| 4 | |||
| 5 | inherit native | ||
| 6 | |||
| 7 | PATCHTOOL = "patch" | ||
| 8 | EXTRA_OECONF_append = " --disable-nls" | ||
| 9 | |||
| 10 | do_configure () { | ||
| 11 | oe_runconf | ||
| 12 | } | ||
| 13 | |||
| 14 | do_install_append () { | ||
| 15 | # Dummy quiltrc file for patch.bbclass | ||
| 16 | install -d ${D}${sysconfdir}/ | ||
| 17 | touch ${D}${sysconfdir}/quiltrc | ||
| 18 | } | ||
diff --git a/meta/recipes-devtools/quilt/quilt-native_0.65.bb b/meta/recipes-devtools/quilt/quilt-native_0.65.bb index 6bc7dcdb7a..22374425fa 100644 --- a/meta/recipes-devtools/quilt/quilt-native_0.65.bb +++ b/meta/recipes-devtools/quilt/quilt-native_0.65.bb | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | require quilt.inc | 1 | require quilt.inc |
| 2 | require quilt-native.inc | 2 | inherit native |
diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc index 48ed9babf7..150df3d572 100644 --- a/meta/recipes-devtools/quilt/quilt.inc +++ b/meta/recipes-devtools/quilt/quilt.inc | |||
| @@ -11,14 +11,21 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \ | |||
| 11 | file://0001-tests-Allow-different-output-from-mv.patch \ | 11 | file://0001-tests-Allow-different-output-from-mv.patch \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | SRC_URI_append_class-target = " file://gnu_patch_test_fix_target.patch" | ||
| 15 | |||
| 14 | SRC_URI[md5sum] = "c67ba0228f5b7b8bbe469474661f92d6" | 16 | SRC_URI[md5sum] = "c67ba0228f5b7b8bbe469474661f92d6" |
| 15 | SRC_URI[sha256sum] = "f6cbc788e5cbbb381a3c6eab5b9efce67c776a8662a7795c7432fd27aa096819" | 17 | SRC_URI[sha256sum] = "f6cbc788e5cbbb381a3c6eab5b9efce67c776a8662a7795c7432fd27aa096819" |
| 16 | 18 | ||
| 17 | inherit autotools-brokensep ptest | 19 | inherit autotools-brokensep ptest |
| 18 | 20 | ||
| 21 | INHIBIT_AUTOTOOLS_DEPS_class-native = "1" | ||
| 22 | PATCHTOOL_class-native = "patch" | ||
| 23 | |||
| 19 | CLEANBROKEN = "1" | 24 | CLEANBROKEN = "1" |
| 20 | 25 | ||
| 21 | EXTRA_OECONF = "--with-perl='${USRBINPATH}/env perl' --with-patch=patch" | 26 | EXTRA_OECONF = "--with-perl='${USRBINPATH}/env perl' --with-patch=patch" |
| 27 | EXTRA_OECONF_append_class-native = " --disable-nls" | ||
| 28 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
| 22 | 29 | ||
| 23 | CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash" | 30 | CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash" |
| 24 | 31 | ||
| @@ -33,6 +40,10 @@ do_configure_append () { | |||
| 33 | sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i ${S}/Makefile | 40 | sed -e 's,^COMPAT_SYMLINKS.*:=.*,COMPAT_SYMLINKS :=,' -i ${S}/Makefile |
| 34 | } | 41 | } |
| 35 | 42 | ||
| 43 | do_configure_class-native () { | ||
| 44 | oe_runconf | ||
| 45 | } | ||
| 46 | |||
| 36 | # quilt Makefiles install to BUILD_ROOT instead of DESTDIR | 47 | # quilt Makefiles install to BUILD_ROOT instead of DESTDIR |
| 37 | do_install () { | 48 | do_install () { |
| 38 | oe_runmake 'BUILD_ROOT=${D}' install | 49 | oe_runmake 'BUILD_ROOT=${D}' install |
| @@ -40,6 +51,12 @@ do_install () { | |||
| 40 | rm -rf ${D}/${datadir}/emacs | 51 | rm -rf ${D}/${datadir}/emacs |
| 41 | } | 52 | } |
| 42 | 53 | ||
| 54 | do_install_append_class-native () { | ||
| 55 | # Dummy quiltrc file for patch.bbclass | ||
| 56 | install -d ${D}${sysconfdir}/ | ||
| 57 | touch ${D}${sysconfdir}/quiltrc | ||
| 58 | } | ||
| 59 | |||
| 43 | do_compile_ptest() { | 60 | do_compile_ptest() { |
| 44 | oe_runmake bin/patch-wrapper test/.depend | 61 | oe_runmake bin/patch-wrapper test/.depend |
| 45 | } | 62 | } |
| @@ -61,7 +78,9 @@ FILES_guards = "${bindir}/guards" | |||
| 61 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}" | 78 | FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}" |
| 62 | FILES_guards-doc = "${mandir}/man1/guards.1" | 79 | FILES_guards-doc = "${mandir}/man1/guards.1" |
| 63 | 80 | ||
| 64 | RDEPENDS_${PN} = "bash" | 81 | RDEPENDS_${PN} = "bash patch diffstat bzip2 util-linux" |
| 82 | RDEPENDS_${PN}_class-native = "diffstat-native patch-native bzip2-native" | ||
| 83 | |||
| 65 | RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \ | 84 | RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \ |
| 66 | perl-module-filehandle perl-module-getopt-std \ | 85 | perl-module-filehandle perl-module-getopt-std \ |
| 67 | perl-module-posix perl-module-file-temp \ | 86 | perl-module-posix perl-module-file-temp \ |
diff --git a/meta/recipes-devtools/quilt/quilt_0.65.bb b/meta/recipes-devtools/quilt/quilt_0.65.bb index 5bf818d0bb..ff9726576e 100644 --- a/meta/recipes-devtools/quilt/quilt_0.65.bb +++ b/meta/recipes-devtools/quilt/quilt_0.65.bb | |||
| @@ -1,8 +1,2 @@ | |||
| 1 | require quilt.inc | 1 | require quilt.inc |
| 2 | inherit gettext | 2 | inherit gettext |
| 3 | |||
| 4 | SRC_URI += "file://gnu_patch_test_fix_target.patch" | ||
| 5 | |||
| 6 | EXTRA_AUTORECONF += "--exclude=aclocal" | ||
| 7 | |||
| 8 | RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" | ||
