summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-19 18:51:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-19 18:51:48 +0000
commitf9e107a5344d3dbbb149bb89084e0efa73c11e2e (patch)
treedd1f9e4c1a4af898432f1640d52b4dc96b7331c3 /games-fps/duke3d
parentVersion bump (diff)
downloadgentoo-2-f9e107a5344d3dbbb149bb89084e0efa73c11e2e.tar.gz
gentoo-2-f9e107a5344d3dbbb149bb89084e0efa73c11e2e.tar.bz2
gentoo-2-f9e107a5344d3dbbb149bb89084e0efa73c11e2e.zip
EAPI=2; add use-based dep
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-fps/duke3d')
-rw-r--r--games-fps/duke3d/ChangeLog8
-rw-r--r--games-fps/duke3d/duke3d-20040817-r2.ebuild17
2 files changed, 12 insertions, 13 deletions
diff --git a/games-fps/duke3d/ChangeLog b/games-fps/duke3d/ChangeLog
index ca22518a97e7..d759b4be1e25 100644
--- a/games-fps/duke3d/ChangeLog
+++ b/games-fps/duke3d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/duke3d
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.29 2008/02/28 03:24:23 mr_bones_ Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.30 2009/01/19 18:51:48 mr_bones_ Exp $
+
+ 19 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ duke3d-20040817-r2.ebuild:
+ EAPI=2; add use-based dep
28 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
+files/duke3d-20040817-as-needed.patch, duke3d-20040817-r2.ebuild:
diff --git a/games-fps/duke3d/duke3d-20040817-r2.ebuild b/games-fps/duke3d/duke3d-20040817-r2.ebuild
index 2ee3679c7a68..4dd61d7e12a8 100644
--- a/games-fps/duke3d/duke3d-20040817-r2.ebuild
+++ b/games-fps/duke3d/duke3d-20040817-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20040817-r2.ebuild,v 1.5 2008/02/28 03:24:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20040817-r2.ebuild,v 1.6 2009/01/19 18:51:48 mr_bones_ Exp $
+EAPI=2
fromcvs=0
ECVS_MODULE="duke3d"
if [[ ${fromcvs} -eq 1 ]] ; then
@@ -31,7 +32,7 @@ RDEPEND="media-libs/libsdl
media-libs/sdl-mixer
media-sound/timidity++
media-sound/timidity-eawpatches
- perl? ( dev-lang/perl )
+ perl? ( dev-lang/perl[-ithreads] )
opengl? ( virtual/opengl )"
DEPEND="${RDEPEND}
demo? ( app-arch/unzip )
@@ -41,14 +42,6 @@ S="${WORKDIR}/${PN}"
use_tf() { use ${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
@@ -62,7 +55,9 @@ src_unpack() {
if use demo ; then
unzip -qo DN3DSW13.SHR || die "unzip DN3DSW13.SHR failed"
fi
+}
+src_prepare() {
# configure buildengine
cd "${S}/source/buildengine"
sed -i \