/[gentoo-x86]/eclass/gnustep-base.eclass
Gentoo

Diff of /eclass/gnustep-base.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.12 2009/09/23 21:23:56 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.13 2009/11/25 10:11:40 voyageur Exp $
4 4
5inherit eutils flag-o-matic 5inherit eutils flag-o-matic
6 6
7# Inner gnustep eclass, should only be inherited directly by gnustep-base 7# Inner gnustep eclass, should only be inherited directly by gnustep-base
8# packages 8# packages
38 38
39gnustep-base_src_unpack() { 39gnustep-base_src_unpack() {
40 unpack ${A} 40 unpack ${A}
41 cd "${S}" 41 cd "${S}"
42 42
43 gnustep-base_src_prepare
44}
45
46gnustep-base_src_prepare() {
43 if [[ -f ./GNUmakefile ]] ; then 47 if [[ -f ./GNUmakefile ]] ; then
44 # Kill stupid includes that are simply overdone or useless on normal 48 # Kill stupid includes that are simply overdone or useless on normal
45 # Gentoo, but (may) cause major headaches on Prefixed Gentoo. If this 49 # Gentoo, but (may) cause major headaches on Prefixed Gentoo. If this
46 # only removes a part of a path it's good that it bails out, as we want 50 # only removes a part of a path it's good that it bails out, as we want
47 # to know when they use some direct include. 51 # to know when they use some direct include.
221 doexe "${T}"/${cfile} 225 doexe "${T}"/${cfile}
222} 226}
223 227
224case ${EAPI:-0} in 228case ${EAPI:-0} in
225 0|1) EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst ;; 229 0|1) EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst ;;
226 2) EXPORT_FUNCTIONS pkg_setup src_unpack src_configure src_compile src_install pkg_postinst ;; 230 2) EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_install pkg_postinst ;;
227esac 231esac

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20