summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-12-24 11:30:56 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-12-24 11:30:56 +0000
commitb7b5460c0ab2735ad5249111b4cf886502b92f7a (patch)
tree6a7b267816e0127273fa5b41d6e090f299f9a99d /games-fps
parentFixed boost support (thanks to geki for pointing this out) (diff)
downloadgentoo-2-b7b5460c0ab2735ad5249111b4cf886502b92f7a.tar.gz
gentoo-2-b7b5460c0ab2735ad5249111b4cf886502b92f7a.tar.bz2
gentoo-2-b7b5460c0ab2735ad5249111b4cf886502b92f7a.zip
Test for perl build with ithreads use flags. Bug #80999
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/duke3d/ChangeLog5
-rw-r--r--games-fps/duke3d/duke3d-20040817-r1.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/games-fps/duke3d/ChangeLog b/games-fps/duke3d/ChangeLog
index 0e7b944ea9a9..a8307df8d46f 100644
--- a/games-fps/duke3d/ChangeLog
+++ b/games-fps/duke3d/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/duke3d
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.23 2006/08/30 11:59:40 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.24 2006/12/24 11:30:56 tupone Exp $
+
+ 24 Dec 2006; <tupone@gentoo.org> duke3d-20040817-r1.ebuild:
+ Test for perl build with ithreads use flags. Bug #80999 by Alan Grimes
*duke3d-20040817-r1 (30 Aug 2006)
diff --git a/games-fps/duke3d/duke3d-20040817-r1.ebuild b/games-fps/duke3d/duke3d-20040817-r1.ebuild
index 5ed074a73358..446059ce750f 100644
--- a/games-fps/duke3d/duke3d-20040817-r1.ebuild
+++ b/games-fps/duke3d/duke3d-20040817-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20040817-r1.ebuild,v 1.2 2006/09/08 04:57:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20040817-r1.ebuild,v 1.3 2006/12/24 11:30:56 tupone Exp $
fromcvs=0
ECVS_MODULE="duke3d"
@@ -34,6 +34,14 @@ S="${WORKDIR}/${ECVS_MODULE}"
use_tf() { useq ${1} && echo "true" || echo "false"; }
+pkg_setup() {
+ if built_with_use dev-lang/perl ithreads ; then
+ eerror "${PN} needs perl compiled with ithreads use-flag disabled!"
+ die "perl with ithreads detected"
+ fi
+ games_pkg_setup
+}
+
src_unpack() {
if [ ${fromcvs} -eq 1 ] ; then
cvs_src_unpack