summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2005-01-19 11:00:27 +0000
committerAndres Loeh <kosmikus@gentoo.org>2005-01-19 11:00:27 +0000
commite83b6ed62489e9f56b95dbeb76191c850a89a032 (patch)
tree98e622e5c3dc72e1e670d26478ca8083453537c4 /dev-haskell
parentVersion bump; fixes critical I/O bug that could cause data truncation. (diff)
downloadgentoo-2-e83b6ed62489e9f56b95dbeb76191c850a89a032.tar.gz
gentoo-2-e83b6ed62489e9f56b95dbeb76191c850a89a032.tar.bz2
gentoo-2-e83b6ed62489e9f56b95dbeb76191c850a89a032.zip
Applied patch to use check-reqs eclass, see comment 37 in bug #69270
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/gtk2hs/ChangeLog5
-rw-r--r--dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-haskell/gtk2hs/ChangeLog b/dev-haskell/gtk2hs/ChangeLog
index 70c99fc1c487..67226dcc0181 100644
--- a/dev-haskell/gtk2hs/ChangeLog
+++ b/dev-haskell/gtk2hs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-haskell/gtk2hs
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.7 2005/01/01 18:04:13 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.8 2005/01/19 11:00:27 kosmikus Exp $
+
+ 19 Jan 2005; Andres Loeh <kosmikus@gentoo.org> gtk2hs-0.9.6-r1.ebuild:
+ Added a check of the memory requirements (see bug #62790, comment 37)
11 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> gtk2hs-0.9.6-r1.ebuild,
gtk2hs-0.9.6.ebuild:
diff --git a/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild b/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild
index a0d05b8b43d6..61022b5fe4a8 100644
--- a/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild
+++ b/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild,v 1.4 2005/01/01 18:04:13 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.6-r1.ebuild,v 1.5 2005/01/19 11:00:27 kosmikus Exp $
-inherit base ghc-package
+inherit base check-reqs ghc-package
DESCRIPTION="GTK+-2.x bindings for Haskell"
HOMEPAGE="http://gtk2hs.sourceforge.net/"
@@ -20,6 +20,13 @@ DEPEND=">=virtual/ghc-5.04
>=x11-libs/gtksourceview-0.6
>=gnome-base/gconf-2 )"
+pkg_setup() {
+ # need this much memory (in MBytes) (does *not* check swap)
+ CHECKREQS_MEMORY="350"
+
+ check_reqs
+}
+
src_compile() {
econf \
--libdir=$(ghc-libdir) \