diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-04-27 17:29:24 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-04-27 17:29:24 +0000 |
commit | 348b1e895c57b285d546e0926a96d30518f116d1 (patch) | |
tree | 2ffc213e6b025e0ad852eb731b61f81bb882a7be | |
parent | PPC stable profile update (Manifest recommit) (diff) | |
download | gentoo-2-348b1e895c57b285d546e0926a96d30518f116d1.tar.gz gentoo-2-348b1e895c57b285d546e0926a96d30518f116d1.tar.bz2 gentoo-2-348b1e895c57b285d546e0926a96d30518f116d1.zip |
Use use_with and use_enable to clean up ebuild
-rw-r--r-- | app-text/pinfo/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/pinfo/pinfo-0.6.8.ebuild | 14 |
2 files changed, 6 insertions, 13 deletions
diff --git a/app-text/pinfo/ChangeLog b/app-text/pinfo/ChangeLog index f4595462c5eb..61f06652381c 100644 --- a/app-text/pinfo/ChangeLog +++ b/app-text/pinfo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/pinfo # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/ChangeLog,v 1.15 2004/04/25 23:06:17 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/ChangeLog,v 1.16 2004/04/27 17:29:24 agriffis Exp $ + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> pinfo-0.6.8.ebuild: + Use use_with and use_enable to clean up ebuild 25 Apr 2004; Aron Griffis <agriffis@gentoo.org> pinfo-0.6.5_p2-r1.ebuild, pinfo-0.6.7.ebuild, pinfo-0.6.8.ebuild: diff --git a/app-text/pinfo/pinfo-0.6.8.ebuild b/app-text/pinfo/pinfo-0.6.8.ebuild index 873703f1da07..c72a8f51e9c2 100644 --- a/app-text/pinfo/pinfo-0.6.8.ebuild +++ b/app-text/pinfo/pinfo-0.6.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.8.ebuild,v 1.6 2004/04/25 23:06:17 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.8.ebuild,v 1.7 2004/04/27 17:29:24 agriffis Exp $ MY_P=${PN}-${PV/_/} S=${WORKDIR}/${MY_P} @@ -18,17 +18,7 @@ DEPEND="sys-libs/ncurses nls? ( sys-devel/gettext )" src_compile() { - local myconf - - use readline \ - && myconf="${myconf} --with-readline" \ - || myconf="${myconf} --without-readline" - - use nls \ - && myconf="${myconf} --enable-nls" \ - || myconf="${myconf} --disable-nls" - - econf ${myconf} || die "econf failed" + econf $(use_with readline) $(use_enable nls) || die "econf failed" emake || die } |