diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-10-31 03:16:22 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-10-31 03:16:22 +0000 |
commit | 82998de521801ee4faec6b3072f0a1c04d06cdc2 (patch) | |
tree | 2d0103d790763b7b4a4e2aaed0036de69a119c51 | |
parent | add support for 0.7.0; thanks to alex f in bug 30665 (diff) | |
download | gentoo-2-82998de521801ee4faec6b3072f0a1c04d06cdc2.tar.gz gentoo-2-82998de521801ee4faec6b3072f0a1c04d06cdc2.tar.bz2 gentoo-2-82998de521801ee4faec6b3072f0a1c04d06cdc2.zip |
many small tweaks
-rw-r--r-- | sys-libs/gdbm/ChangeLog | 9 | ||||
-rw-r--r-- | sys-libs/gdbm/Manifest | 6 | ||||
-rw-r--r-- | sys-libs/gdbm/gdbm-1.8.0-r5.ebuild | 40 |
3 files changed, 33 insertions, 22 deletions
diff --git a/sys-libs/gdbm/ChangeLog b/sys-libs/gdbm/ChangeLog index a03c550375a5..64f30271a908 100644 --- a/sys-libs/gdbm/ChangeLog +++ b/sys-libs/gdbm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-libs/gdbm # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.12 2003/09/17 22:39:34 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.13 2003/10/31 03:16:21 seemant Exp $ + + 30 Oct 2003; Seemant Kulleen <seemant@gentoo.org> gdbm-1.8.0-r5.ebuild: + Many many little fixes -- header fix to remove Chad Huneycutt's name (repoman + violation), use epatch from the eutils eclassh, use append-flags from + flag-o-matic eclass, switch to econf and einstall syntaxes. Finally, fix + SRC_URI to mirror://gnu thanks to: Stony Yakovac <stonyy@tek.com> in bug + #32352 17 Sep 2003; Jon Portnoy <avenj@gentoo.org> gdbm-1.8.0-r5.ebuild : ia64 keywords. diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest index e593d3b92d64..6c35dddd7e05 100644 --- a/sys-libs/gdbm/Manifest +++ b/sys-libs/gdbm/Manifest @@ -1,4 +1,4 @@ -MD5 322ef5520d91235ef216af42cf763af9 ChangeLog 1616 -MD5 636af9ef76b067f545c5c8a5adf44169 gdbm-1.8.0-r5.ebuild 1432 -MD5 017b1a2d0ae227d89ee16480e3129a3b files/digest-gdbm-1.8.0-r5 62 +MD5 d9d679a80a6881a2afad4a56dee2f529 gdbm-1.8.0-r5.ebuild 1382 +MD5 38abc1c3c65923743a2d02b2e1e1df4a ChangeLog 2004 MD5 8640084b5d1f0e27de1d1c7da372f00a files/gdbm-1.8.0-r5-gentoo.diff 6093 +MD5 017b1a2d0ae227d89ee16480e3129a3b files/digest-gdbm-1.8.0-r5 62 diff --git a/sys-libs/gdbm/gdbm-1.8.0-r5.ebuild b/sys-libs/gdbm/gdbm-1.8.0-r5.ebuild index 4fe97e7d48f2..115570027a6e 100644 --- a/sys-libs/gdbm/gdbm-1.8.0-r5.ebuild +++ b/sys-libs/gdbm/gdbm-1.8.0-r5.ebuild @@ -1,20 +1,19 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# Chad Huneycutt <chad.huneycutt@acm.org> -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.0-r5.ebuild,v 1.25 2003/09/17 22:39:34 avenj Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.0-r5.ebuild,v 1.26 2003/10/31 03:16:21 seemant Exp $ -inherit gnuconfig +inherit gnuconfig eutils flag-o-matic -IUSE="berkdb" +IUSE="berkdb static" S=${WORKDIR}/${P} DESCRIPTION="Standard GNU database libraries included for compatibility with Perl" -SRC_URI="ftp://prep.ai.mit.edu/gnu/gdbm/${P}.tar.gz" - HOMEPAGE="http://www.gnu.org/software/gdbm/gdbm.html" +SRC_URI="mirror://gnu/gdbm/${P}.tar.gz" + +SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 x86 ppc sparc alpha mips hppa arm ia64" -SLOT="0" DEPEND="virtual/glibc berkdb? ( amd64? sys-libs/db : =sys-libs/db-1.85-r1 )" @@ -24,7 +23,7 @@ RDEPEND="virtual/glibc" src_unpack() { unpack ${A} cd ${WORKDIR} - patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die + epatch ${FILESDIR}/${PF}-gentoo.diff use alpha && gnuconfig_update use arm && gnuconfig_update use hppa && gnuconfig_update @@ -33,20 +32,25 @@ src_unpack() { } src_compile() { - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info || die + + + if [ ! `is-flag "-fomit-frame-pointer"` ] + then + append-flags "-fomit-frame-pointer" + fi + + local myconf + + use static && myconf="${myconf} --enable-static" - emake CFLAGS="${CFLAGS} -fomit-frame-pointer" || die + econf ${myconf} || die + emake CFLAGS="${CFLAGS}" || die } src_install() { - make prefix=${D}/usr \ - man3dir=${D}/usr/share/man/man3 \ - infodir=${D}/usr/share/info \ - install || die + + einstall \ + man3dir=${D}/usr/share/man/man3 || die make includedir=${D}/usr/include/gdbm \ install-compat || die |