summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-04-19 10:37:02 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-04-19 10:37:02 +0000
commit526cb2358ca64be332a06b20bc5ce6fc1a15e892 (patch)
treeadfc3ff69d3054c11c357a71bb486f5f4850f2d1 /app-arch/rpm/files
parentRemove old. (diff)
downloadgentoo-2-526cb2358ca64be332a06b20bc5ce6fc1a15e892.tar.gz
gentoo-2-526cb2358ca64be332a06b20bc5ce6fc1a15e892.tar.bz2
gentoo-2-526cb2358ca64be332a06b20bc5ce6fc1a15e892.zip
Version bump the libexecdir patch as I forgot to update one more place that uses /usr/lib hardcoded. Resolves bug#409729.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/rpm/files')
-rw-r--r--app-arch/rpm/files/rpm-4.9.1.2-libdir.patch22
1 files changed, 20 insertions, 2 deletions
diff --git a/app-arch/rpm/files/rpm-4.9.1.2-libdir.patch b/app-arch/rpm/files/rpm-4.9.1.2-libdir.patch
index 2867de86e8e1..221926494411 100644
--- a/app-arch/rpm/files/rpm-4.9.1.2-libdir.patch
+++ b/app-arch/rpm/files/rpm-4.9.1.2-libdir.patch
@@ -1,6 +1,24 @@
+diff -urN rpm-4.9.1.2.old/configure.ac rpm-4.9.1.2/configure.ac
+--- rpm-4.9.1.2.old/configure.ac 2012-04-19 12:18:27.584725220 +0200
++++ rpm-4.9.1.2/configure.ac 2012-04-19 12:34:50.302722933 +0200
+@@ -846,13 +846,7 @@
+ AC_SUBST(RPMCANONGNU)
+ AC_DEFINE_UNQUOTED([RPMCANONVENDOR],["${RPMCANONVENDOR}"],[canonical vendor])
+
+-if test X"$prefix" = XNONE ; then
+- usrprefix="$ac_default_prefix"
+-else
+- usrprefix=$prefix
+-fi
+-
+-RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
++RPMCONFIGDIR="`echo ${libexecdir}/rpm/`"
+ AC_SUBST(RPMCONFIGDIR)
+
+ AC_SUBST(OBJDUMP)
diff -urN rpm-4.9.1.2.old/rpm.am rpm-4.9.1.2/rpm.am
---- rpm-4.9.1.2.old/rpm.am 2012-03-21 19:57:33.942448288 +0100
-+++ rpm-4.9.1.2/rpm.am 2012-03-21 20:06:19.045419773 +0100
+--- rpm-4.9.1.2.old/rpm.am 2012-04-19 12:18:27.584725220 +0200
++++ rpm-4.9.1.2/rpm.am 2012-04-19 12:24:49.035724332 +0200
@@ -1,7 +1,5 @@
# Internal binaries
-## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm