summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-12-03 14:42:28 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-12-03 14:42:28 +0000
commit0648b5fc71c91aec59dc8e74be08d998ef41f48d (patch)
tree18d04e5db39c0d787383f0e8c4ebd0e856d0080f /gnustep-base
parentMarking mecab-ipadic-2.7.0.20070801 ppc64 for bug 245176 (diff)
downloadgentoo-2-0648b5fc71c91aec59dc8e74be08d998ef41f48d.tar.gz
gentoo-2-0648b5fc71c91aec59dc8e74be08d998ef41f48d.tar.bz2
gentoo-2-0648b5fc71c91aec59dc8e74be08d998ef41f48d.zip
Fix compilation with --as-needed, bug #249507
(Portage version: 2.2_rc16/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/mknfonts/ChangeLog6
-rw-r--r--gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild7
2 files changed, 10 insertions, 3 deletions
diff --git a/gnustep-base/mknfonts/ChangeLog b/gnustep-base/mknfonts/ChangeLog
index 9b733eb2efd6..2df52bab9c7a 100644
--- a/gnustep-base/mknfonts/ChangeLog
+++ b/gnustep-base/mknfonts/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnustep-base/mknfonts
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/mknfonts/ChangeLog,v 1.22 2008/08/27 15:41:36 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-base/mknfonts/ChangeLog,v 1.23 2008/12/03 14:42:28 voyageur Exp $
+
+ 03 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ mknfonts-0.5-r1.ebuild:
+ Fix compilation with --as-needed, bug #249507
27 Aug 2008; Bernard Cafarelli <voyageur@gentoo.org> -mknfonts-0.5.ebuild:
Remove old version
diff --git a/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild b/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild
index f0906cf60d5b..f2925edc11d7 100644
--- a/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild
+++ b/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild,v 1.9 2007/12/06 12:12:10 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-base/mknfonts/mknfonts-0.5-r1.ebuild,v 1.10 2008/12/03 14:42:28 voyageur Exp $
inherit eutils gnustep-base
@@ -11,6 +11,7 @@ SRC_URI="mirror://debian/pool/main/m/${PN}.tool/${PN}.tool_${PV}.orig.tar.gz"
KEYWORDS="~alpha amd64 ppc sparc x86"
SLOT="0"
LICENSE="GPL-2"
+IUSE=""
DEPEND="gnustep-base/gnustep-gui
>=media-libs/freetype-2.1"
@@ -20,5 +21,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ # Correct link command for --as-needed
+ sed -i -e "s/ADDITIONAL_LDFLAGS/ADDITIONAL_TOOL_LIBS/" GNUmakefile || die "sed failed"
epatch "${FILESDIR}"/${PN}-rename.patch
}