diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-02-06 03:52:06 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2013-02-06 03:52:06 +0000 |
commit | 78b2ed6bac263ae9c9e1445b15b966fb22a8c338 (patch) | |
tree | 5286ba717ab7f90e111fc576ea528039634e12bd /gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild | |
parent | Add an upper bound on v8 due to API change. Reported by Mr_Bones_. (diff) | |
download | gentoo-2-78b2ed6bac263ae9c9e1445b15b966fb22a8c338.tar.gz gentoo-2-78b2ed6bac263ae9c9e1445b15b966fb22a8c338.tar.bz2 gentoo-2-78b2ed6bac263ae9c9e1445b15b966fb22a8c338.zip |
Ensure gawk, not virtual/awk is used; nawk fails on build scripts with syntax errors (bug #455730, thanks to Christoph Junghans). Drop old.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild')
-rw-r--r-- | gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild b/gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild index d082126057ad..c902e6f650b9 100644 --- a/gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild +++ b/gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild,v 1.7 2012/12/19 15:54:30 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp-xsl/yelp-xsl-3.4.2.ebuild,v 1.8 2013/02/06 03:52:06 tetromino Exp $ EAPI="4" -inherit gnome.org +inherit eutils gnome.org DESCRIPTION="XSL stylesheets for yelp" HOMEPAGE="http://www.gnome.org/" @@ -16,9 +16,16 @@ IUSE="" RDEPEND=">=dev-libs/libxml2-2.6.12 >=dev-libs/libxslt-1.1.8" +# Requires gawk, not virtual/awk: nawk fails with syntax errors DEPEND="${RDEPEND} >=dev-util/intltool-0.40 dev-util/itstool sys-apps/gawk sys-devel/gettext virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${PN}-3.6.1-gawk.patch" + sed -e 's/$(YELP_XSL_AWK)/gawk/' -i doc/yelp-xsl/Makefile.{am,in} || die + default +} |