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
commitbd2d811bf740b84604ee9a6607468a4a85eeae1e (patch)
treec206ae2297550fdb80b049500ec5e70b91db4a16 /eclass/gnustep-base.eclass
parentamd64 stable, bug #284325 (diff)
downloadhistorical-bd2d811bf740b84604ee9a6607468a4a85eeae1e.tar.gz
historical-bd2d811bf740b84604ee9a6607468a4a85eeae1e.tar.bz2
historical-bd2d811bf740b84604ee9a6607468a4a85eeae1e.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