summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-09-09 08:46:05 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-09-09 08:46:05 +0000
commit74eec1ad815d5622727dfbb5013d2a9bae646a54 (patch)
treee3378b41fc06af0cbd92b1b84633a1866cbe3530 /app-emacs/yc
parentWhitespace. (diff)
downloadgentoo-2-74eec1ad815d5622727dfbb5013d2a9bae646a54.tar.gz
gentoo-2-74eec1ad815d5622727dfbb5013d2a9bae646a54.tar.bz2
gentoo-2-74eec1ad815d5622727dfbb5013d2a9bae646a54.zip
Port to EAPI 3, correct runtime and build-time dependencies, make it respect system's LDFLAGS and CFLAGS as reported in bug 336540
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'app-emacs/yc')
-rw-r--r--app-emacs/yc/ChangeLog8
-rw-r--r--app-emacs/yc/yc-4.0.13.ebuild14
2 files changed, 16 insertions, 6 deletions
diff --git a/app-emacs/yc/ChangeLog b/app-emacs/yc/ChangeLog
index 3d8f016351ee..338137ba3155 100644
--- a/app-emacs/yc/ChangeLog
+++ b/app-emacs/yc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emacs/yc
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/yc/ChangeLog,v 1.31 2009/06/06 15:44:02 ulm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yc/ChangeLog,v 1.32 2010/09/09 08:46:05 fauli Exp $
+
+ 09 Sep 2010; Christian Faulhammer <fauli@gentoo.org> yc-4.0.13.ebuild:
+ Port to EAPI 3, correct runtime and build-time dependencies, make it
+ respect system's LDFLAGS and CFLAGS as reported in bug 336540
06 Jun 2009; Ulrich Mueller <ulm@gentoo.org> yc-4.0.13.ebuild:
Fix elog message, bug 272899.
diff --git a/app-emacs/yc/yc-4.0.13.ebuild b/app-emacs/yc/yc-4.0.13.ebuild
index 74a027fd3e18..91418ee8d007 100644
--- a/app-emacs/yc/yc-4.0.13.ebuild
+++ b/app-emacs/yc/yc-4.0.13.ebuild
@@ -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/app-emacs/yc/yc-4.0.13.ebuild,v 1.7 2009/06/06 15:44:02 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yc/yc-4.0.13.ebuild,v 1.8 2010/09/09 08:46:05 fauli Exp $
+
+EAPI=3
inherit elisp
@@ -13,11 +15,15 @@ SLOT="0"
KEYWORDS="alpha ppc x86"
IUSE=""
-DEPEND=">=app-i18n/canna-3.6"
-RDEPEND="${DEPEND}"
+DEPEND=""
+RDEPEND=">=app-i18n/canna-3.6"
SITEFILE="50${PN}-gentoo.el"
+src_prepare() {
+ sed -e 's:$(CC) -o $(PROGRAM) $(OBJS):$(CC) ${CFLAGS} ${LDFLAGS} -o $(PROGRAM) $(OBJS):' -i Makefile || die
+}
+
src_compile() {
emake || die
}