summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-01-04 15:09:36 +0000
committerChristoph Mende <angelos@gentoo.org>2009-01-04 15:09:36 +0000
commitc4c4c89301dd26d75d08b8d64ae3b888e3377211 (patch)
treefb9933d6a9f308ba65eeba7f280b1f69b99b7dd0 /app-text/cwtext/cwtext-0.94.ebuild
parentFix missing kde4-base_src_prepare call. (diff)
downloadhistorical-c4c4c89301dd26d75d08b8d64ae3b888e3377211.tar.gz
historical-c4c4c89301dd26d75d08b8d64ae3b888e3377211.tar.bz2
historical-c4c4c89301dd26d75d08b8d64ae3b888e3377211.zip
QA: Fix compilation with --as-needed (bug 246958), respect LDFLAGS
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'app-text/cwtext/cwtext-0.94.ebuild')
-rw-r--r--app-text/cwtext/cwtext-0.94.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/app-text/cwtext/cwtext-0.94.ebuild b/app-text/cwtext/cwtext-0.94.ebuild
index 8bdc5e14f4ce..81cd6a298526 100644
--- a/app-text/cwtext/cwtext-0.94.ebuild
+++ b/app-text/cwtext/cwtext-0.94.ebuild
@@ -1,16 +1,16 @@
-# 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/app-text/cwtext/cwtext-0.94.ebuild,v 1.13 2008/04/07 20:18:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cwtext/cwtext-0.94.ebuild,v 1.14 2009/01/04 15:09:35 angelos Exp $
-inherit toolchain-funcs
+inherit eutils toolchain-funcs
DESCRIPTION="Text to Morse Code converter"
HOMEPAGE="http://cwtext.sourceforge.net"
-SRC_URI="mirror://sourceforge/cwtext/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-KEYWORDS="amd64 mips ppc sparc x86"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 mips ppc sparc x86"
IUSE=""
src_unpack() {
@@ -21,15 +21,12 @@ src_unpack() {
sed -i -e "/^PREFIX/ s:=.*:=\"${S}\":" makefile || \
die "sed makefile failed"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
tc-export CC
}
-src_compile() {
- emake install || die
-}
-
src_install() {
- dobin cwtext cwpcm cwmm
+ dobin cwtext cwpcm cwmm || die "dobin failed"
dodoc Changes README TODO
}