summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-06-09 20:52:19 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-06-09 20:52:19 +0000
commit71db61eb100f3bd26a34115df81e7470eb2da35c (patch)
treefa9804529d8553350acbe09829c27f998edf5886 /media-libs/cal3d/cal3d-0.11.0-r1.ebuild
parentTurn the libxml2[icu] blocker into a USE dep because portage displays better ... (diff)
downloadgentoo-2-71db61eb100f3bd26a34115df81e7470eb2da35c.tar.gz
gentoo-2-71db61eb100f3bd26a34115df81e7470eb2da35c.tar.bz2
gentoo-2-71db61eb100f3bd26a34115df81e7470eb2da35c.zip
move use invocation out of global scope
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/cal3d/cal3d-0.11.0-r1.ebuild')
-rw-r--r--media-libs/cal3d/cal3d-0.11.0-r1.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild
index ac5958217a73..eeb43da809a2 100644
--- a/media-libs/cal3d/cal3d-0.11.0-r1.ebuild
+++ b/media-libs/cal3d/cal3d-0.11.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.9 2011/07/20 10:00:41 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/cal3d/cal3d-0.11.0-r1.ebuild,v 1.10 2012/06/09 20:52:19 mr_bones_ Exp $
EAPI=2
inherit eutils base autotools
@@ -20,9 +20,11 @@ DEPEND="doc? (
)"
RDEPEND=""
-DOCS=( AUTHORS ChangeLog README TODO )
-use doc && HTML_DOCS=( docs/html/api docs/html/guide )
-PATCHES=( "${FILESDIR}"/${P}-gcc43.patch )
+pkg_setup() {
+ DOCS=( AUTHORS ChangeLog README TODO )
+ use doc && HTML_DOCS=( docs/html/api docs/html/guide )
+ PATCHES=( "${FILESDIR}"/${P}-gcc43.patch )
+}
src_prepare() {
base_src_prepare