summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-02-24 11:15:08 -0500
committerTom Rini <trini@embeddedalley.com>2009-02-24 11:15:08 -0500
commite28f5e5be8583346749bb96be44fa90bff7a74e6 (patch)
treed7335c548c1789a192ccd48052a88a139d4d7203 /packages
parentd4ed85c5499e8eb693b7564e60d7038598659e51 (diff)
dpkg-native: Last change broke thing (oops), we need to set PERL to ... and RDEPENDS="".
The first part really does get us using the right perl to find out PERL_LIBDIR. The second part means that we don't depend on target perl being built too.
Diffstat (limited to 'packages')
-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 \