summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2008-10-26 16:10:13 +0000
committerAkinori Hattori <hattya@gentoo.org>2008-10-26 16:10:13 +0000
commit506ea68aaffd2cdf02506e709a1fb0245c92c808 (patch)
treeaebb7f921e63f59641ef53a232ba4513d11e66c5 /app-editors/easyedit
parentcall emake with CC and CFLAGS. (diff)
downloadgentoo-2-506ea68aaffd2cdf02506e709a1fb0245c92c808.tar.gz
gentoo-2-506ea68aaffd2cdf02506e709a1fb0245c92c808.tar.bz2
gentoo-2-506ea68aaffd2cdf02506e709a1fb0245c92c808.zip
fixes bug #239867 and bug #243558.
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-editors/easyedit')
-rw-r--r--app-editors/easyedit/ChangeLog5
-rw-r--r--app-editors/easyedit/easyedit-1.4.6.ebuild18
2 files changed, 20 insertions, 3 deletions
diff --git a/app-editors/easyedit/ChangeLog b/app-editors/easyedit/ChangeLog
index 32f82c61ad11..31334568a71a 100644
--- a/app-editors/easyedit/ChangeLog
+++ b/app-editors/easyedit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/easyedit
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/easyedit/ChangeLog,v 1.15 2008/01/26 15:48:14 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/easyedit/ChangeLog,v 1.16 2008/10/26 16:10:13 hattya Exp $
+
+ 26 Oct 2008; Akinori Hattori <hattya@gentoo.org> easyedit-1.4.6.ebuild:
+ fixes bug #239867 and bug #243558.
26 Jan 2008; Fabian Groffen <grobian@gentoo.org> easyedit-1.4.6.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/app-editors/easyedit/easyedit-1.4.6.ebuild b/app-editors/easyedit/easyedit-1.4.6.ebuild
index 147da29b9e4e..1cd062e5c154 100644
--- a/app-editors/easyedit/easyedit-1.4.6.ebuild
+++ b/app-editors/easyedit/easyedit-1.4.6.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/easyedit/easyedit-1.4.6.ebuild,v 1.19 2008/01/26 15:48:14 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/easyedit/easyedit-1.4.6.ebuild,v 1.20 2008/10/26 16:10:13 hattya Exp $
+
+inherit toolchain-funcs
IUSE=""
@@ -16,9 +18,21 @@ SLOT="0"
DEPEND=">=sys-libs/ncurses-5.0"
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/\tcc /\t\\\\\$(CC) /" \
+ -e "/other_cflag/s/ *-s//" \
+ create.make
+
+}
+
src_compile() {
- emake -j1 || die
+ emake -j1 CC="$(tc-getCC)" || die
}