public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-nntp/nget: ChangeLog nget-0.27.1.ebuild
@ 2009-02-15 22:38 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2009-02-15 22:38 UTC (permalink / raw
  To: gentoo-commits

vapier      09/02/15 22:38:29

  Modified:             ChangeLog nget-0.27.1.ebuild
  Log:
  Fix building with newer toolchains by using Debian patches #251529 by Diego E. Flameeyes Pettenò.
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.13                 net-nntp/nget/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	4 May 2008 01:34:25 -0000	1.12
+++ ChangeLog	15 Feb 2009 22:38:29 -0000	1.13
@@ -1,6 +1,12 @@
 # ChangeLog for net-nntp/nget
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v 1.12 2008/05/04 01:34:25 dragonheart Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v 1.13 2009/02/15 22:38:29 vapier Exp $
+
+  15 Feb 2009; Mike Frysinger <vapier@gentoo.org>
+  -files/nget-0.27.1-gcc-4.3.patch, +files/nget-0.27.1-headers.patch,
+  nget-0.27.1.ebuild:
+  Fix building with newer toolchains by using Debian patches #251529 by
+  Diego E. Flameeyes Pettenò.
 
   04 May 2008; Daniel Black <dragonheart@gentoo.org>
   +files/nget-0.27.1-gcc-4.3.patch, nget-0.27.1.ebuild:



1.11                 net-nntp/nget/nget-0.27.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild?r1=1.10&r2=1.11

Index: nget-0.27.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- nget-0.27.1.ebuild	4 May 2008 01:34:25 -0000	1.10
+++ nget-0.27.1.ebuild	15 Feb 2009 22:38:29 -0000	1.11
@@ -1,12 +1,15 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 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.10 2008/05/04 01:34:25 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v 1.11 2009/02/15 22:38:29 vapier Exp $
 
 inherit flag-o-matic eutils
 
+DEB_VER="10"
+DEB_PATCH="${PN}_${PV}-${DEB_VER}.diff"
 DESCRIPTION="Network utility to retrieve files from an NNTP news server"
 HOMEPAGE="http://nget.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+	mirror://debian/pool/main/n/nget/${DEB_PATCH}.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -20,9 +23,11 @@
 DEPEND="dev-libs/uulib"
 
 src_unpack() {
-	unpack "${A}"
+	unpack ${A}
+	epatch "${WORKDIR}"/${DEB_PATCH}
 	cd "${S}"
-	epatch "${FILESDIR}"/${P}-gcc-4.3.patch
+	epatch debian/patches/*.patch "${FILESDIR}"/${P}-headers.patch
+	sed -i '/^install_bin/s:-s::' Makefile.in
 }
 
 src_compile() {






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-nntp/nget: ChangeLog nget-0.27.1.ebuild
@ 2010-04-06 18:21 Jonathan Callen (abcd)
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Callen (abcd) @ 2010-04-06 18:21 UTC (permalink / raw
  To: gentoo-commits

abcd        10/04/06 18:21:05

  Modified:             ChangeLog nget-0.27.1.ebuild
  Log:
  Bump to EAPI=3, add prefix keywords
  (Portage version: -svn/cvs/Linux i686)

Revision  Changes    Path
1.14                 net-nntp/nget/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	15 Feb 2009 22:38:29 -0000	1.13
+++ ChangeLog	6 Apr 2010 18:21:05 -0000	1.14
@@ -1,6 +1,9 @@
 # ChangeLog for net-nntp/nget
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v 1.13 2009/02/15 22:38:29 vapier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/ChangeLog,v 1.14 2010/04/06 18:21:05 abcd Exp $
+
+  06 Apr 2010; Jonathan Callen <abcd@gentoo.org> nget-0.27.1.ebuild:
+  Bump to EAPI=3, add prefix keywords
 
   15 Feb 2009; Mike Frysinger <vapier@gentoo.org>
   -files/nget-0.27.1-gcc-4.3.patch, +files/nget-0.27.1-headers.patch,



1.12                 net-nntp/nget/nget-0.27.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild?r1=1.11&r2=1.12

Index: nget-0.27.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- nget-0.27.1.ebuild	15 Feb 2009 22:38:29 -0000	1.11
+++ nget-0.27.1.ebuild	6 Apr 2010 18:21:05 -0000	1.12
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.11 2009/02/15 22:38:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/nget/nget-0.27.1.ebuild,v 1.12 2010/04/06 18:21:05 abcd Exp $
+
+EAPI="3"
 
 inherit flag-o-matic eutils
 
@@ -13,7 +15,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm hppa ppc sh x86"
+KEYWORDS="amd64 arm hppa ppc sh x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="static debug ipv6 pcre zlib"
 RESTRICT="test"
 
@@ -22,31 +24,29 @@
 	zlib? ( sys-libs/zlib )"
 DEPEND="dev-libs/uulib"
 
-src_unpack() {
-	unpack ${A}
-	epatch "${WORKDIR}"/${DEB_PATCH}
-	cd "${S}"
+src_prepare() {
+	EPATCH_OPTS="-p1" epatch "${WORKDIR}"/${DEB_PATCH}
 	epatch debian/patches/*.patch "${FILESDIR}"/${P}-headers.patch
 	sed -i '/^install_bin/s:-s::' Makefile.in
 }
 
-src_compile() {
+src_configure() {
 	use static && append-flags -static
 
+	[[ ${CHOST} == *-darwin* ]] && append-flags -D__STDC_CONSTANT_MACROS
+
 	econf \
 		$(use_enable debug) \
 		$(use_enable ipv6) \
 		$(use_with pcre) \
-		$(use_with zlib) \
-		|| die "econf failed"
-	emake || die "emake failed"
+		$(use_with zlib)
 }
 
 src_install() {
-	make \
-		prefix="${D}"/usr \
-		mandir="${D}"/usr/share/man \
-		infodir="${D}"/usr/share/info \
+	emake -j1 \
+		prefix="${ED}"/usr \
+		mandir="${ED}"/usr/share/man \
+		infodir="${ED}"/usr/share/info \
 		install || die "install failed"
 
 	dodoc Changelog FAQ README TODO






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-06 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 18:21 [gentoo-commits] gentoo-x86 commit in net-nntp/nget: ChangeLog nget-0.27.1.ebuild Jonathan Callen (abcd)
  -- strict thread matches above, loose matches on Subject: below --
2009-02-15 22:38 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox