diff options
author | Richard Purdie <richard@openedhand.com> | 2008-09-03 21:28:20 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-09-03 21:28:20 +0000 |
commit | f9cefb630eab68f2998702baded4a2acab697caf (patch) | |
tree | 258b461b24a606ded00546460f55360d0647ad3a /meta/packages/rpm | |
parent | 36d81980318386c8181b0a59dee39318e40e1f8d (diff) | |
download | openembedded-core-f9cefb630eab68f2998702baded4a2acab697caf.tar.gz openembedded-core-f9cefb630eab68f2998702baded4a2acab697caf.tar.bz2 openembedded-core-f9cefb630eab68f2998702baded4a2acab697caf.zip |
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
Diffstat (limited to 'meta/packages/rpm')
-rw-r--r-- | meta/packages/rpm/rpm-native_4.4.2.3.bb | 2 | ||||
-rw-r--r-- | meta/packages/rpm/rpm_4.4.2.3.bb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/rpm/rpm-native_4.4.2.3.bb b/meta/packages/rpm/rpm-native_4.4.2.3.bb index 2e949dcd24..5ed737e366 100644 --- a/meta/packages/rpm/rpm-native_4.4.2.3.bb +++ b/meta/packages/rpm/rpm-native_4.4.2.3.bb @@ -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}" diff --git a/meta/packages/rpm/rpm_4.4.2.3.bb b/meta/packages/rpm/rpm_4.4.2.3.bb index 1a6e01a196..6718042f8e 100644 --- a/meta/packages/rpm/rpm_4.4.2.3.bb +++ b/meta/packages/rpm/rpm_4.4.2.3.bb @@ -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 |