[oe-commits] Tom Rini : dpkg-native: Last change broke thing (oops), we need to set PERL to ... and RDEPENDS="".
GIT User account
git at amethyst.openembedded.net
Tue Feb 24 16:17:07 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: e28f5e5be8583346749bb96be44fa90bff7a74e6
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e28f5e5be8583346749bb96be44fa90bff7a74e6
Author: Tom Rini <trini at embeddedalley.com>
Date: Tue Feb 24 11:15:08 2009 -0500
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.
---
packages/dpkg/dpkg-native.inc | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/dpkg/dpkg-native.inc b/packages/dpkg/dpkg-native.inc
index 5d14527..771476f 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 \
More information about the Openembedded-commits
mailing list