/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

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

Revision 1.93 Revision 1.94
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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/gnome2.eclass,v 1.93 2011/04/21 20:59:59 eva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.94 2011/04/21 21:06:15 eva Exp $
4 4
5# @ECLASS: gnome2.eclass 5# @ECLASS: gnome2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gnome@gentoo.org 7# gnome@gentoo.org
8# @BLURB: 8# @BLURB:
14 14
15case "${EAPI:-0}" in 15case "${EAPI:-0}" in
16 0|1) 16 0|1)
17 EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm 17 EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm
18 ;; 18 ;;
19 2|3) 19 2|3|4)
20 EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm 20 EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
21 ;; 21 ;;
22 *) die "EAPI=${EAPI} is not supported" ;; 22 *) die "EAPI=${EAPI} is not supported" ;;
23esac 23esac
24 24
83gnome2_src_prepare() { 83gnome2_src_prepare() {
84 # Prevent scrollkeeper access violations 84 # Prevent scrollkeeper access violations
85 gnome2_omf_fix 85 gnome2_omf_fix
86 86
87 # Run libtoolize 87 # Run libtoolize
88 if has ${EAPI:-0} 0 1 2 3; then
88 elibtoolize ${ELTCONF} 89 elibtoolize ${ELTCONF}
90 else
91 # Everything is fatal EAPI 4 onwards
92 nonfatal elibtoolize ${ELTCONF}
93 fi
94
89} 95}
90 96
91# @FUNCTION: gnome2_src_configure 97# @FUNCTION: gnome2_src_configure
92# @DESCRIPTION: 98# @DESCRIPTION:
93# Gnome specific configure handling 99# Gnome specific configure handling

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.94

  ViewVC Help
Powered by ViewVC 1.1.20