From ef3ea946da85df951f077227efd5df9d612262fa Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 18 Jan 2006 23:53:47 +0000 Subject: add static support properly without clobbering all of user LDFLAGS Package-Manager: portage-2.1_pre3-r1 --- net-nntp/nget/Manifest | 20 +++++++++++++++----- net-nntp/nget/nget-0.27.1.ebuild | 22 ++++++++++------------ 2 files changed, 25 insertions(+), 17 deletions(-) (limited to 'net-nntp/nget') diff --git a/net-nntp/nget/Manifest b/net-nntp/nget/Manifest index 9283796e5b0b..10aeff21542e 100644 --- a/net-nntp/nget/Manifest +++ b/net-nntp/nget/Manifest @@ -1,8 +1,18 @@ -MD5 088e28b7ef706bdde3fbfecf47c71737 nget-0.26.ebuild 1230 -MD5 a3828006b4dc1398ec2a3d0c7750716c nget-0.27.ebuild 1086 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 5c584dbb436a88a9ef9e93bfb203c4e2 ChangeLog 2181 -MD5 e54b54e04da18a997e743708904e9b50 nget-0.27.1.ebuild 1077 -MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 -MD5 c17cef108e16646aeb342d949cb1bfd8 files/digest-nget-0.27.1 63 MD5 e60b241e5d6ce73c6516002f53529a1c files/digest-nget-0.26 67 MD5 b8b9b7c4345bd3ca7601ee62d94e3489 files/digest-nget-0.27 61 +MD5 c17cef108e16646aeb342d949cb1bfd8 files/digest-nget-0.27.1 63 +MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 +MD5 088e28b7ef706bdde3fbfecf47c71737 nget-0.26.ebuild 1230 +MD5 706d0b99dca7469f3a3ff594d2716c53 nget-0.27.1.ebuild 1029 +MD5 a3828006b4dc1398ec2a3d0c7750716c nget-0.27.ebuild 1086 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDztWK2+ySkm8kpY0RAvTWAKDDmwM62E9ABjUeVzYNFPvAqxp4+QCfQuw/ +C+6CWATck0dMQYQI8TFAxQM= +=Dzbq +-----END PGP SIGNATURE----- diff --git a/net-nntp/nget/nget-0.27.1.ebuild b/net-nntp/nget/nget-0.27.1.ebuild index 6437e17c3c75..291a623be5bf 100644 --- a/net-nntp/nget/nget-0.27.1.ebuild +++ b/net-nntp/nget/nget-0.27.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v 1.1 2005/08/27 21:15:51 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v 1.2 2006/01/18 23:53:47 vapier Exp $ + +inherit flag-o-matic DESCRIPTION="Network utility to retrieve files from an NNTP news server" HOMEPAGE="http://nget.sourceforge.net/" @@ -9,28 +11,24 @@ RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~arm ~ppc ~amd64" +KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="static debug ipv6 pcre zlib" -RDEPEND="virtual/libc - dev-libs/popt +RDEPEND="dev-libs/popt pcre? ( dev-libs/libpcre ) zlib? ( sys-libs/zlib )" DEPEND="dev-libs/uulib" src_compile() { + use static && append-flags -static + econf \ $(use_enable debug) \ $(use_enable ipv6) \ $(use_with pcre) \ $(use_with zlib) \ || die "econf failed" - - if use static ; then - emake LDFLAGS="-static" || die "emake failed" - else - emake || die "emake failed" - fi + emake || die "emake failed" } src_install() { @@ -40,6 +38,6 @@ src_install() { infodir=${D}/usr/share/info \ install || die "install failed" - dodoc COPYING Changelog FAQ README TODO + dodoc Changelog FAQ README TODO newdoc .ngetrc ngetrc.sample } -- cgit v1.2.3-65-gdbad