diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-15 12:58:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-15 12:58:52 +0000 |
commit | 4bb04724a0b42fe1e4c5e1b83967d00641173c57 (patch) | |
tree | 6559b20705abc905213428ba49cc1ab026b0b3f1 /app-misc/pal | |
parent | Remove ebuild using built_with_use. Bug #261562. (diff) | |
download | gentoo-2-4bb04724a0b42fe1e4c5e1b83967d00641173c57.tar.gz gentoo-2-4bb04724a0b42fe1e4c5e1b83967d00641173c57.tar.bz2 gentoo-2-4bb04724a0b42fe1e4c5e1b83967d00641173c57.zip |
USE deps instead of built_with_use
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/pal')
-rw-r--r-- | app-misc/pal/pal-0.4.3.ebuild | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/app-misc/pal/pal-0.4.3.ebuild b/app-misc/pal/pal-0.4.3.ebuild index 61144f46f570..6b9cdfdb3893 100644 --- a/app-misc/pal/pal-0.4.3.ebuild +++ b/app-misc/pal/pal-0.4.3.ebuild @@ -1,7 +1,8 @@ -# 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-misc/pal/pal-0.4.3.ebuild,v 1.1 2008/10/05 11:49:51 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/pal-0.4.3.ebuild,v 1.2 2009/08/15 12:58:52 ssuominen Exp $ +EAPI=2 inherit toolchain-funcs eutils DESCRIPTION="pal command-line calendar program" @@ -15,27 +16,21 @@ IUSE="nls unicode" RDEPEND=">=dev-libs/glib-2.0 sys-libs/readline - sys-libs/ncurses + sys-libs/ncurses[unicode?] nls? ( virtual/libintl )" - DEPEND="${RDEPEND} dev-util/pkgconfig nls? ( sys-devel/gettext )" -S="${WORKDIR}/${P}/src" +S=${WORKDIR}/${P}/src src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PV}-strip.patch epatch "${FILESDIR}"/${PV}-ldflags.patch - if use unicode ; then - if built_with_use sys-libs/ncurses unicode ; then - sed -i "/^LIBS/s/-lncurses/&w/" "${S}"/Makefile || die - else - ewarn "Rebuild sys-libs/ncurses with unicode before you try" - ewarn "to build app-misc/pal with unicode support!" - fi + if use unicode; then + sed -i "/^LIBS/s/-lncurses/&w/" "${S}"/Makefile || die fi } @@ -45,11 +40,11 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install-man install-bin install-share \ + emake DESTDIR="${D}" install-man install-bin install-share \ || die "make install failed" if use nls; then - make DESTDIR="${D}" install-mo || die "make install-mo failed" + emake DESTDIR="${D}" install-mo || die "make install-mo failed" fi dodoc "${WORKDIR}"/${P}/{ChangeLog,doc/example.css} || die "dodoc failed" |