summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-11-25 10:11:40 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-11-25 10:11:40 +0000
commitf8f20387bb8f8725c5b140ce7a0f3bc608e571a1 (patch)
tree40801fc6d2e53e73d905df2a17a78db83c638ec6 /eclass/gnustep-base.eclass
parentamd64 stable, bug #284325 (diff)
downloadgentoo-2-f8f20387bb8f8725c5b140ce7a0f3bc608e571a1.tar.gz
gentoo-2-f8f20387bb8f8725c5b140ce7a0f3bc608e571a1.tar.bz2
gentoo-2-f8f20387bb8f8725c5b140ce7a0f3bc608e571a1.zip
Add src_prepare support
Diffstat (limited to 'eclass/gnustep-base.eclass')
-rw-r--r--eclass/gnustep-base.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index 217d3ac8df20..29465f374d1f 100644
--- a/eclass/gnustep-base.eclass
+++ b/eclass/gnustep-base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.12 2009/09/23 21:23:56 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.13 2009/11/25 10:11:40 voyageur Exp $
inherit eutils flag-o-matic
@@ -40,6 +40,10 @@ gnustep-base_src_unpack() {
unpack ${A}
cd "${S}"
+ gnustep-base_src_prepare
+}
+
+gnustep-base_src_prepare() {
if [[ -f ./GNUmakefile ]] ; then
# Kill stupid includes that are simply overdone or useless on normal
# Gentoo, but (may) cause major headaches on Prefixed Gentoo. If this
@@ -223,5 +227,5 @@ EOF
case ${EAPI:-0} in
0|1) EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst ;;
- 2) EXPORT_FUNCTIONS pkg_setup src_unpack src_configure src_compile src_install pkg_postinst ;;
+ 2) EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_install pkg_postinst ;;
esac