summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg/dpkg
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-14 17:43:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-15 12:05:26 +0000
commit6c508124a1aa7a963f7c5cc627ef31b51927132c (patch)
tree08eeb6e44a1bbba1fe93f11ce06d1fa38687f8f1 /meta/recipes-devtools/dpkg/dpkg
parentd3c950e62254d5f1be0d591d858bde9a37dfabf3 (diff)
downloadpoky-6c508124a1aa7a963f7c5cc627ef31b51927132c.tar.gz
dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usable
The version of dpkg the updates-alternatives-dpkg recipe pointed at no longer used a perl script but a compiled binary. This meant the "all" architecture field was invalid, as as the sed operation during do_patch. All things considered the separate recipe was pretty pointless. This patch moves update-alternatives back to being built as part of the dpkg recipe. It also moves various functionalty to the .inc file which it belongs and fixes building and packaging of the dpkg perl modules. (From OE-Core rev: fad496c759066d53bebf9b8cebc63e6478c91d19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg')
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/perllibdir.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/perllibdir.patch b/meta/recipes-devtools/dpkg/dpkg/perllibdir.patch
new file mode 100644
index 0000000000..45973f012d
--- /dev/null
+++ b/meta/recipes-devtools/dpkg/dpkg/perllibdir.patch
@@ -0,0 +1,22 @@
1We want to be able to set PERL_LIBDIR from the environment. This
2hardcoded assignment prevents us from doing so and obtains an
3incorrect value.
4
5Upstream-Status: Inappropriate [in this form at least]
6
7RP 14/11/2011
8
9Index: dpkg-1.15.8.7/m4/dpkg-progs.m4
10===================================================================
11--- dpkg-1.15.8.7.orig/m4/dpkg-progs.m4 2011-11-14 17:32:21.252053239 +0000
12+++ dpkg-1.15.8.7/m4/dpkg-progs.m4 2011-11-14 17:32:55.180052455 +0000
13@@ -9,9 +9,6 @@
14 [AC_ARG_VAR([PERL], [Perl interpreter])dnl
15 AC_PATH_PROG([PERL], [perl], [/usr/bin/perl])dnl
16 AC_ARG_VAR([PERL_LIBDIR], [Perl library directory])dnl
17-PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{vendorlibexp};
18- $r =~ s/$Config{vendorprefixexp}/\$(prefix)/;
19- print $r')dnl
20 ])# DPKG_PROG_PERL
21
22 # DPKG_PROG_PO4A