summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2005-03-19 13:12:49 +0000
committerAndres Loeh <kosmikus@gentoo.org>2005-03-19 13:12:49 +0000
commit5b2771dcb06219c92d96e04a086e2fb7b634fd69 (patch)
tree53cab0d01546ffc5dd1f50c22b3ff9f775890da2 /dev-haskell/happy/happy-1.15.ebuild
parentStable on alpha. (diff)
downloadgentoo-2-5b2771dcb06219c92d96e04a086e2fb7b634fd69.tar.gz
gentoo-2-5b2771dcb06219c92d96e04a086e2fb7b634fd69.tar.bz2
gentoo-2-5b2771dcb06219c92d96e04a086e2fb7b634fd69.zip
ghc-6.4 compatibility
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-haskell/happy/happy-1.15.ebuild')
-rw-r--r--dev-haskell/happy/happy-1.15.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-haskell/happy/happy-1.15.ebuild b/dev-haskell/happy/happy-1.15.ebuild
index 625f3dcc660a..b2c1894d19cb 100644
--- a/dev-haskell/happy/happy-1.15.ebuild
+++ b/dev-haskell/happy/happy-1.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.15.ebuild,v 1.2 2005/03/19 12:36:31 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/happy/happy-1.15.ebuild,v 1.3 2005/03/19 13:12:49 kosmikus Exp $
inherit base eutils
@@ -24,6 +24,9 @@ src_unpack() {
src_compile() {
econf || die "configure failed"
+ if has_version '>=dev-lang/ghc-6.4'; then
+ echo "SRC_HC_OPTS += -ignore-package util" >> mk/build.mk
+ fi
emake -j1 || die "make failed"
if use doc; then
emake -j1 html || die "make html failed"