summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-25 23:54:44 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-25 23:54:44 +0000
commit90dd6b0e91d2be652fc677c0f9033b36dfee4c56 (patch)
tree82d6ba8cf80942e516fb5317a28220bc3f19049b /app-arch/rpm
parentold (diff)
downloadgentoo-2-90dd6b0e91d2be652fc677c0f9033b36dfee4c56.tar.gz
gentoo-2-90dd6b0e91d2be652fc677c0f9033b36dfee4c56.tar.bz2
gentoo-2-90dd6b0e91d2be652fc677c0f9033b36dfee4c56.zip
dont use old WANT_AUTOCONF #35111
Diffstat (limited to 'app-arch/rpm')
-rw-r--r--app-arch/rpm/rpm-4.0.4-r5.ebuild8
-rw-r--r--app-arch/rpm/rpm-4.2.1.ebuild15
2 files changed, 11 insertions, 12 deletions
diff --git a/app-arch/rpm/rpm-4.0.4-r5.ebuild b/app-arch/rpm/rpm-4.0.4-r5.ebuild
index 4c99a081f69a..162471cef9f3 100644
--- a/app-arch/rpm/rpm-4.0.4-r5.ebuild
+++ b/app-arch/rpm/rpm-4.0.4-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.0.4-r5.ebuild,v 1.8 2003/11/29 23:23:21 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.0.4-r5.ebuild,v 1.9 2004/01/25 23:50:12 vapier Exp $
inherit flag-o-matic eutils
@@ -21,10 +21,6 @@ RDEPEND="=sys-libs/db-3.2*
DEPEND="${RDEPEND}
sys-devel/gettext"
-filter-flags -fPIC
-
-export WANT_AUTOCONF_2_1=1
-
src_unpack() {
unpack ${A}
cd ${S}
@@ -36,6 +32,8 @@ src_unpack() {
}
src_compile() {
+ filter-flags -fPIC
+ export WANT_AUTOCONF=2.1
econf `use_enable nls` || die
make || die
}
diff --git a/app-arch/rpm/rpm-4.2.1.ebuild b/app-arch/rpm/rpm-4.2.1.ebuild
index 8f6fd058cc7d..87efe432dc95 100644
--- a/app-arch/rpm/rpm-4.2.1.ebuild
+++ b/app-arch/rpm/rpm-4.2.1.ebuild
@@ -1,16 +1,18 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.2.1.ebuild,v 1.10 2004/01/25 12:38:02 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.2.1.ebuild,v 1.11 2004/01/25 23:50:12 vapier Exp $
inherit python flag-o-matic libtool eutils
DESCRIPTION="Red Hat Package Management Utils"
-SRC_URI="mirror://gentoo/rpm-4.2.1.tar.gz"
HOMEPAGE="http://www.rpm.org/"
-SLOT="0"
+SRC_URI="mirror://gentoo/rpm-4.2.1.tar.gz"
+
LICENSE="GPL-2 LGPL-2"
+SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc alpha ~mips ~amd64 ia64"
IUSE="nls python doc"
+
RDEPEND="=sys-libs/db-3.2*
>=sys-libs/zlib-1.1.3
>=app-arch/bzip2-1.0.1
@@ -22,20 +24,19 @@ RDEPEND="=sys-libs/db-3.2*
python? ( >=dev-lang/python-2.2 )
!ia64? ( doc? ( app-doc/doxygen ) )"
-strip-flags
-
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/rpm-4.2-python2.3.diff
}
src_compile() {
+ strip-flags
elibtoolize
unset LD_ASSUME_KERNEL
local myconf
myconf="--enable-posixmutexes --without-javaglue"
-
+
python_version
use python \
&& myconf="${myconf} --with-python=${PYVER}" \
@@ -83,7 +84,7 @@ pkg_postinst() {
einfo "No RPM database found... Creating database..."
${ROOT}/usr/bin/rpm --initdb --root=${ROOT}
fi
-
+
python_version
python_mod_optimize /usr/lib/python${PYVER}/site-packages/rpmdb
}