diff options
author | 2010-10-18 08:11:39 +0000 | |
---|---|---|
committer | 2010-10-18 08:11:39 +0000 | |
commit | 5200f5b8d8edda05697b5ea2247182e1f87eccfd (patch) | |
tree | fe03d06aa3877d0c8d554183bf2aec52815a0a9f | |
parent | Introduce live ebuild (diff) | |
download | gentoo-2-5200f5b8d8edda05697b5ea2247182e1f87eccfd.tar.gz gentoo-2-5200f5b8d8edda05697b5ea2247182e1f87eccfd.tar.bz2 gentoo-2-5200f5b8d8edda05697b5ea2247182e1f87eccfd.zip |
Fix phases for EAPI=2 add quote around $D.
(Portage version: 2.2_rc97/cvs/Linux x86_64)
-rw-r--r-- | net-irc/epic4/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/epic4/epic4-2.10.ebuild | 18 |
2 files changed, 14 insertions, 11 deletions
diff --git a/net-irc/epic4/ChangeLog b/net-irc/epic4/ChangeLog index c0c03c546ea7..558121df80a0 100644 --- a/net-irc/epic4/ChangeLog +++ b/net-irc/epic4/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-irc/epic4 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.87 2009/03/07 21:14:47 cla Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.88 2010/10/18 08:11:39 flameeyes Exp $ + + 18 Oct 2010; Diego E. Pettenò <flameeyes@gentoo.org> epic4-2.10.ebuild: + Fix phases for EAPI=2 add quote around $D. 07 Mar 2009; Dawid Węgliński <cla@gentoo.org> epic4-2.10.ebuild: Migrate to EAPI 2 diff --git a/net-irc/epic4/epic4-2.10.ebuild b/net-irc/epic4/epic4-2.10.ebuild index 071580d00fd8..0825c768b3f7 100644 --- a/net-irc/epic4/epic4-2.10.ebuild +++ b/net-irc/epic4/epic4-2.10.ebuild @@ -1,6 +1,6 @@ -# 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/net-irc/epic4/epic4-2.10.ebuild,v 1.7 2009/03/07 21:14:47 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/epic4-2.10.ebuild,v 1.8 2010/10/18 08:11:39 flameeyes Exp $ EAPI="2" @@ -24,17 +24,14 @@ DEPEND=">=sys-libs/ncurses-5.2 ssl? ( >=dev-libs/openssl-0.9.5 )" RDEPEND="${DEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { epatch "${FILESDIR}"/epic-defaultserver.patch rm -f "${WORKDIR}"/help/Makefile find "${WORKDIR}"/help -type d -name CVS -print0 | xargs -0 rm -r } -src_compile() { +src_configure() { replace-flags "-O?" "-O" econf \ @@ -43,13 +40,16 @@ src_compile() { $(use_with perl) \ $(use_with ssl) \ || die "econf failed" +} + +src_compile() { emake CC="$(tc-getCC)" || die "make failed" } src_install () { einstall \ - sharedir=${D}/usr/share \ - libexecdir=${D}/usr/lib/misc || die "einstall failed" + sharedir="${D}"/usr/share \ + libexecdir="${D}"/usr/lib/misc || die "einstall failed" dodoc BUG_FORM COPYRIGHT README KNOWNBUGS VOTES |