diff options
author | 2009-11-25 10:11:40 +0000 | |
---|---|---|
committer | 2009-11-25 10:11:40 +0000 | |
commit | f8f20387bb8f8725c5b140ce7a0f3bc608e571a1 (patch) | |
tree | 40801fc6d2e53e73d905df2a17a78db83c638ec6 /eclass | |
parent | amd64 stable, bug #284325 (diff) | |
download | gentoo-2-f8f20387bb8f8725c5b140ce7a0f3bc608e571a1.tar.gz gentoo-2-f8f20387bb8f8725c5b140ce7a0f3bc608e571a1.tar.bz2 gentoo-2-f8f20387bb8f8725c5b140ce7a0f3bc608e571a1.zip |
Add src_prepare support
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnustep-2.eclass | 6 | ||||
-rw-r--r-- | eclass/gnustep-base.eclass | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/eclass/gnustep-2.eclass b/eclass/gnustep-2.eclass index 3059b4b96794..2e29ed9c8fe8 100644 --- a/eclass/gnustep-2.eclass +++ b/eclass/gnustep-2.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-2.eclass,v 1.3 2008/10/03 14:59:42 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-2.eclass,v 1.4 2009/11/25 10:11:40 voyageur Exp $ inherit gnustep-base @@ -15,7 +15,9 @@ RDEPEND="${DEPEND} # The following gnustep-based EXPORT_FUNCTIONS are available: # * gnustep-base_pkg_setup -# * gnustep-base_src_configure (EAPI=2 only) +# * gnustep-base_src_unpack (EAPI 0|1 only) +# * gnustep-base_src_prepare (EAPI>=2 only) +# * gnustep-base_src_configure (EAPI>=2 only) # * gnustep-base_src_compile # * gnustep-base_src_install # * gnustep-base_pkg_postinst 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 |