rpm-native: Set varprefix to get the rpm database in a sane location

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5132 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-09-03 21:28:20 +00:00
parent 36d8198031
commit f9cefb630e
2 changed files with 4 additions and 2 deletions

View File

@@ -3,5 +3,5 @@ inherit native
DEPENDS = "beecrypt-native zlib-native file-native popt-native python-native"
export sharedstatedir = "${layout_sharedstatedir}"
export localstatedir = "${layout_localstatedir}"
export varprefix = "${layout_localstatedir}"

View File

@@ -2,7 +2,7 @@ DESCRIPTION = "The RPM Package Manager."
HOMEPAGE = "http://rpm.org/"
LICENSE = "LGPL GPL"
DEPENDS = "zlib beecrypt file popt python"
PR = "r6"
PR = "r7"
SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \
file://external-tools.patch;patch=1 \
@@ -36,6 +36,8 @@ MUTEX_arm = "${ARM_MUTEX}"
MUTEX_armeb = "${ARM_MUTEX}"
EXTRA_OECONF += "${MUTEX}"
export varprefix = "${localstatedir}"
do_configure () {
rm ${S}/popt/ -Rf
rm ${S}/db/dist/configure.in -f