summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dpkg/dpkg-native.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/dpkg/dpkg-native.inc b/packages/dpkg/dpkg-native.inc
index 5d14527341..771476ff2f 100644
--- a/packages/dpkg/dpkg-native.inc
+++ b/packages/dpkg/dpkg-native.inc
@@ -2,12 +2,16 @@ require dpkg.inc
inherit native
-DEPENDS = "bzip2-native zlib-native virtual/update-alternatives-native"
+DEPENDS = "perl-native bzip2-native zlib-native virtual/update-alternatives-native"
+RDEPENDS = ""
SRC_URI += "file://noman.patch;patch=1"
FILESPATH += "dpkg-${PV}"
-PERL_LIBDIR = "${STAGING_LIBDIR}/perl"
+# We need to do this so our perl is picked up.
+do_configure_prepend() {
+ export PERL=${STAGING_BINDIR}/perl
+}
EXTRA_OECONF = "--without-static-progs \
--without-dselect \