From 03574adf9a49fffd76465623582d24b2f03d8559 Mon Sep 17 00:00:00 2001
From: Ned Ludd <solar@gentoo.org>
Date: Sun, 4 Jul 2004 17:46:00 +0000
Subject: added static USE flag to help assist when porting to new
 arches/libc's

---
 sys-apps/texinfo/ChangeLog          |  5 ++++-
 sys-apps/texinfo/Manifest           |  6 +++---
 sys-apps/texinfo/texinfo-4.6.ebuild | 13 ++++++++-----
 3 files changed, 15 insertions(+), 9 deletions(-)

(limited to 'sys-apps')

diff --git a/sys-apps/texinfo/ChangeLog b/sys-apps/texinfo/ChangeLog
index 5d9171fbea06..af932dcb11e2 100644
--- a/sys-apps/texinfo/ChangeLog
+++ b/sys-apps/texinfo/ChangeLog
@@ -1,6 +1,9 @@
 # ChangeLog for sys-apps/texinfo
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/ChangeLog,v 1.39 2004/07/01 21:40:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/ChangeLog,v 1.40 2004/07/04 17:46:00 solar Exp $
+
+  04 Jul 2004; <solar@gentoo.org> texinfo-4.6.ebuild:
+  added static USE flag to help assist when porting to new arches/libc's
 
   01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> texinfo-4.5.ebuild,
   texinfo-4.6.ebuild:
diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest
index 4d545cc2b009..4333473ca2d4 100644
--- a/sys-apps/texinfo/Manifest
+++ b/sys-apps/texinfo/Manifest
@@ -1,8 +1,8 @@
+MD5 7aa50395639fc06872e54246be52fd28 texinfo-4.5.ebuild 1684
+MD5 0f0af8fb05d65f6449cf778f0d66be76 texinfo-4.3-r1.ebuild 1745
+MD5 48db8c4a5c52472d3f19a6bbd89e6973 texinfo-4.6.ebuild 1694
 MD5 b4556a18ac562adc2016ce181210ef9b ChangeLog 5137
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 0f0af8fb05d65f6449cf778f0d66be76 texinfo-4.3-r1.ebuild 1745
-MD5 7aa50395639fc06872e54246be52fd28 texinfo-4.5.ebuild 1684
-MD5 3c84b64ccbd27923b755f1cba90a79a0 texinfo-4.6.ebuild 1629
 MD5 3173c3b67a3ef4e594cf5ce1b8253504 files/digest-texinfo-4.3-r1 64
 MD5 c14f75d4a1d21ae1776a9868bd0c0296 files/digest-texinfo-4.5 65
 MD5 247b349c3d22ddbd4288247e611bb186 files/digest-texinfo-4.6 65
diff --git a/sys-apps/texinfo/texinfo-4.6.ebuild b/sys-apps/texinfo/texinfo-4.6.ebuild
index 6e2746ef5dc2..4045f78e9985 100644
--- a/sys-apps/texinfo/texinfo-4.6.ebuild
+++ b/sys-apps/texinfo/texinfo-4.6.ebuild
@@ -1,6 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.6.ebuild,v 1.16 2004/07/01 21:40:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.6.ebuild,v 1.17 2004/07/04 17:46:00 solar Exp $
+
+inherit flag-o-matic
 
 DESCRIPTION="The GNU info program and utilities"
 HOMEPAGE="http://www.gnu.org/software/texinfo/"
@@ -9,12 +11,12 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="x86 ppc ppc64 sparc mips alpha arm hppa amd64 ia64 s390"
-IUSE="nls build"
+IUSE="nls build static"
 
 DEPEND="virtual/libc
 	!build? ( >=sys-libs/ncurses-5.2-r2
-		>=sys-apps/sed-4.0.5
-		nls? ( sys-devel/gettext ) )"
+	>=sys-apps/sed-4.0.5
+	nls? ( sys-devel/gettext ) )"
 
 RDEPEND="virtual/libc
 	!build? ( >=sys-libs/ncurses-5.2-r2 )"
@@ -38,9 +40,10 @@ src_compile() {
 		myconf="--disable-nls"
 	fi
 
+	use static && append-ldflags -static
+
 	export WANT_AUTOMAKE_1_6=1
 	econf ${myconf} || die
-
 	emake || die
 }
 
-- 
cgit v1.2.3-65-gdbad