Gentoo Archives: gentoo-commits

From: "Stanislav Ochotnicky (sochotnicky)" <sochotnicky@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/rpm/files: rpm-4.8.0-autotools.patch
Date: Wed, 05 May 2010 23:08:16
Message-Id: 20100505230814.4E74F2C3EB@corvid.gentoo.org
1 sochotnicky 10/05/05 23:08:14
2
3 Modified: rpm-4.8.0-autotools.patch
4 Log:
5 Fixed build failue by removing db3 from AC_CONFIG_SUBDIRS
6 it is not needed anyway because we are using external db
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.2 app-arch/rpm/files/rpm-4.8.0-autotools.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/files/rpm-4.8.0-autotools.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/files/rpm-4.8.0-autotools.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/files/rpm-4.8.0-autotools.patch?r1=1.1&r2=1.2
15
16 Index: rpm-4.8.0-autotools.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/files/rpm-4.8.0-autotools.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- rpm-4.8.0-autotools.patch 5 May 2010 20:54:04 -0000 1.1
23 +++ rpm-4.8.0-autotools.patch 5 May 2010 23:08:14 -0000 1.2
24 @@ -1,18 +1,5 @@
25 -diff --git a/Makefile.am b/Makefile.am
26 -index 587cfa7..498abfb 100644
27 ---- a/Makefile.am
28 -+++ b/Makefile.am
29 -@@ -177,7 +177,7 @@ EXTRA_DIST += rpmpopt.in
30 -
31 - usrsrcdir = $(prefix)/src
32 -
33 --rpmvardir = $(localstatedir)/lib/rpm
34 -+rpmvardir = $(localstatedir)/rpm
35 - rpmvar_DATA =
36 -
37 - install-exec-hook:
38 diff --git a/configure.ac b/configure.ac
39 -index 8c2ef50..1ec8978 100644
40 +index 8c2ef50..2fc75f3 100644
41 --- a/configure.ac
42 +++ b/configure.ac
43 @@ -305,14 +305,9 @@ AM_CONDITIONAL(LIBDWARF,[test "$WITH_LIBDWARF" = yes])
44 @@ -33,16 +20,13 @@
45 AC_SUBST(WITH_NSS_INCLUDE)
46 AC_SUBST(WITH_NSS_LIB)
47
48 -diff --git a/macros.in b/macros.in
49 -index ae46fcb..213b53c 100644
50 ---- a/macros.in
51 -+++ b/macros.in
52 -@@ -155,7 +155,7 @@
53 - %_bzip2bin %{__bzip2}
54 +@@ -1014,9 +1009,6 @@ AC_SUBST(RPMCONFIGDIR)
55 +
56 + AC_SUBST(OBJDUMP)
57
58 - # The location of the rpm database file(s).
59 --%_dbpath %{_var}/lib/rpm
60 -+%_dbpath %{_var}/rpm
61 +-if test "$with_external_db" = no; then
62 +- AC_CONFIG_SUBDIRS(db3)
63 +-fi
64
65 - # The location of the rpm database file(s) after "rpm --rebuilddb".
66 - %_dbpath_rebuild %{_dbpath}
67 + AM_CONDITIONAL([WITH_INTERNAL_DB],[test "$with_external_db" = no])
68 + AM_CONDITIONAL([DOXYGEN],[test "$DOXYGEN" != no])