summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-19 19:07:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-19 19:07:29 +0000
commitfd24d830ada570a783b819318740857d19784a1c (patch)
tree4250560d07519c3a942b3b18da5f901cc53c9662 /dev-util/ragel/ragel-6.5.ebuild
parentVersion bump. (diff)
downloadgentoo-2-fd24d830ada570a783b819318740857d19784a1c.tar.gz
gentoo-2-fd24d830ada570a783b819318740857d19784a1c.tar.bz2
gentoo-2-fd24d830ada570a783b819318740857d19784a1c.zip
Add patch/hack to build with GCC 4.4 and a patch to fix tests under Gentoo/FreeBSD.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/ragel/ragel-6.5.ebuild')
-rw-r--r--dev-util/ragel/ragel-6.5.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-util/ragel/ragel-6.5.ebuild b/dev-util/ragel/ragel-6.5.ebuild
index fa6024ae1ada..9dbc7c351592 100644
--- a/dev-util/ragel/ragel-6.5.ebuild
+++ b/dev-util/ragel/ragel-6.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-6.5.ebuild,v 1.2 2009/05/19 18:33:18 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ragel/ragel-6.5.ebuild,v 1.3 2009/05/19 19:07:29 flameeyes Exp $
inherit eutils
@@ -16,6 +16,14 @@ IUSE="vim-syntax"
DEPEND=""
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}+gcc-4.4.patch
+ epatch "${FILESDIR}"/${P}-freebsd.patch
+}
+
src_compile() {
econf --docdir=/usr/share/doc/${PF} || die "econf failed"
emake || die "emake failed"