summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-02-28 23:56:33 +0000
committerSven Wegener <swegener@gentoo.org>2005-02-28 23:56:33 +0000
commit184992f6857a0a4aaa7bc55cbc1b1db1236df68a (patch)
tree81f20271cd741df6f17720d81ebed7a6d9b19985 /net-irc
parentfix digest #83353 (diff)
downloadgentoo-2-184992f6857a0a4aaa7bc55cbc1b1db1236df68a.tar.gz
gentoo-2-184992f6857a0a4aaa7bc55cbc1b1db1236df68a.tar.bz2
gentoo-2-184992f6857a0a4aaa7bc55cbc1b1db1236df68a.zip
Added some built_with_use magic to make sure perl has been compiled with USE="-ithreads".
(Portage version: 2.0.51.17)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/epic4/ChangeLog7
-rw-r--r--net-irc/epic4/epic4-2.0-r1.ebuild10
-rw-r--r--net-irc/epic4/epic4-2.2.ebuild10
3 files changed, 24 insertions, 3 deletions
diff --git a/net-irc/epic4/ChangeLog b/net-irc/epic4/ChangeLog
index ce0f9ebc3ffc..0e8b40c2593d 100644
--- a/net-irc/epic4/ChangeLog
+++ b/net-irc/epic4/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/epic4
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.46 2005/02/17 03:16:05 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.47 2005/02/28 23:56:33 swegener Exp $
+
+ 01 Mar 2005; Sven Wegener <swegener@gentoo.org> epic4-2.0-r1.ebuild,
+ epic4-2.2.ebuild:
+ Added some built_with_use magic to make sure perl has been compiled with
+ USE="-ithreads".
*epic4-2.2 (17 Feb 2005)
diff --git a/net-irc/epic4/epic4-2.0-r1.ebuild b/net-irc/epic4/epic4-2.0-r1.ebuild
index 0f0746efe358..181834d47f12 100644
--- a/net-irc/epic4/epic4-2.0-r1.ebuild
+++ b/net-irc/epic4/epic4-2.0-r1.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/net-irc/epic4/epic4-2.0-r1.ebuild,v 1.7 2005/02/17 03:16:05 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/epic4-2.0-r1.ebuild,v 1.8 2005/02/28 23:56:33 swegener Exp $
inherit flag-o-matic eutils
@@ -18,6 +18,14 @@ DEPEND=">=sys-libs/ncurses-5.2
perl? ( >=dev-lang/perl-5.6.1 )
ssl? ( >=dev-libs/openssl-0.9.5 )"
+pkg_setup() {
+ if built_with_use dev-lang/perl ithreads
+ then
+ error "You need perl compiled with USE=\"-ithreads\" to be able to compile epic4."
+ die "perl with USE=\"ithreads\" needed"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd ${S}
diff --git a/net-irc/epic4/epic4-2.2.ebuild b/net-irc/epic4/epic4-2.2.ebuild
index 657d269c6abf..47bd925a68f4 100644
--- a/net-irc/epic4/epic4-2.2.ebuild
+++ b/net-irc/epic4/epic4-2.2.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/net-irc/epic4/epic4-2.2.ebuild,v 1.1 2005/02/17 03:16:05 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/epic4-2.2.ebuild,v 1.2 2005/02/28 23:56:33 swegener Exp $
inherit flag-o-matic eutils
@@ -20,6 +20,14 @@ DEPEND=">=sys-libs/ncurses-5.2
perl? ( >=dev-lang/perl-5.6.1 )
ssl? ( >=dev-libs/openssl-0.9.5 )"
+pkg_setup() {
+ if built_with_use dev-lang/perl ithreads
+ then
+ error "You need perl compiled with USE=\"-ithreads\" to be able to compile epic4."
+ die "perl with USE=\"ithreads\" needed"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd ${S}