aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-11-21 12:43:58 +0100
committerAndreas Oberritter <obi@opendreambox.org>2017-10-17 04:38:27 +0200
commit4cb4f02cc58c5e14ce764ed058a044be0ceceaba (patch)
tree7b214cf471cd4dfdabb205d02cdd8ebb4436ae4a
parent6a438dd5031b1d15224cd3e41eee9dd612e53395 (diff)
downloadopenembedded-core-contrib-4cb4f02cc58c5e14ce764ed058a044be0ceceaba.tar.gz
dpkg: use correct path for perl libraries
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index b0c351f99b..9263fa5d75 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -1,7 +1,6 @@
SUMMARY = "Package maintenance system from Debian"
SECTION = "base"
LICENSE = "GPLv2+"
-DEPENDS = "perl"
DEPENDS_append_class-native = " bzip2-replacement-native"
PROVIDES = "virtual/update-alternatives"
@@ -9,7 +8,7 @@ SRC_URI_append_class-native = " file://0001-When-running-do_package_write_deb-we
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/"
-inherit autotools gettext perlnative pkgconfig systemd
+inherit autotools cpan-base gettext perlnative pkgconfig systemd
SYSTEMD_SERVICE_${PN} = "dpkg-configure.service"
@@ -17,8 +16,7 @@ export PERL = "${bindir}/perl"
PERL_class-native = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
PERL_class-nativesdk = "${STAGING_BINDIR_NATIVE}/perl-native/perl"
-export PERL_LIBDIR = "${libdir}/perl"
-PERL_LIBDIR_class-native = "${libdir}/perl-native/perl"
+export PERL_LIBDIR = "${PERLLIBDIRS}/${PERLVERSION}"
PACKAGECONFIG ??= "bzip2 gzip start-stop-daemon update-alternatives"
PACKAGECONFIG[bzip2] = "--with-bz2,--without-bz2,bzip2"