diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-04-22 07:17:44 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2011-04-22 07:17:44 +0000 |
commit | 3f7d19455a4277bebf06f5df3f37ff13878eabc1 (patch) | |
tree | 644807247d771ab6232743e0da2b65a52ab70838 /app-shells/tcsh/tcsh-6.16.ebuild | |
parent | drop citadel from RDEPEND - bug #364445 (diff) | |
download | gentoo-2-3f7d19455a4277bebf06f5df3f37ff13878eabc1.tar.gz gentoo-2-3f7d19455a4277bebf06f5df3f37ff13878eabc1.tar.bz2 gentoo-2-3f7d19455a4277bebf06f5df3f37ff13878eabc1.zip |
Convert to EAPI=3 for Prefix, bug #364305
(Portage version: 2.2.01.18252-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'app-shells/tcsh/tcsh-6.16.ebuild')
-rw-r--r-- | app-shells/tcsh/tcsh-6.16.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/app-shells/tcsh/tcsh-6.16.ebuild b/app-shells/tcsh/tcsh-6.16.ebuild index 87d59b43cf48..14e1f2e096d0 100644 --- a/app-shells/tcsh/tcsh-6.16.ebuild +++ b/app-shells/tcsh/tcsh-6.16.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.16.ebuild,v 1.11 2010/10/08 14:29:18 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/tcsh/tcsh-6.16.ebuild,v 1.12 2011/04/22 07:17:44 grobian Exp $ + +EAPI=3 inherit eutils flag-o-matic autotools prefix @@ -9,7 +11,7 @@ CONFVER="1.8" MY_P="${P}.00" DESCRIPTION="Enhanced version of the Berkeley C shell (csh)" HOMEPAGE="http://www.tcsh.org/" -SRC_URI="ftp://ftp.astron.com/pub/tcsh/${MY_P}.tar.gz +SRC_URI="ftp://ftp.astron.com/pub/tcsh/old/${MY_P}.tar.gz http://www.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2" LICENSE="BSD" @@ -28,9 +30,7 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/${MY_P/16/14}"-debian-dircolors.patch # bug #120792 epatch "${FILESDIR}"/${PN}-6.14-makefile.patch # bug #151951 epatch "${FILESDIR}"/${PN}-6.14-use-ncurses.patch @@ -60,7 +60,7 @@ src_unpack() { fi } -src_compile() { +src_configure() { # make tcsh look and live along the lines of the prefix append-flags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'" append-flags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'" @@ -68,8 +68,7 @@ src_compile() { append-flags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'" append-flags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'" - econf --prefix="${EPREFIX:-/}" || die "econf failed" - emake || die "compile problem" + econf --prefix="${EPREFIX:-/}" || die } src_install() { |