From 07dafad90a9aea5492e2ad413cd69df684e73a21 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 11 Aug 2013 02:42:54 +0000 Subject: Don't call EXPORT_FUNCTONS if CHROMIUM_EXPORT_PHASES is set to 'no'. --- eclass/ChangeLog | 5 ++++- eclass/chromium.eclass | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'eclass') diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 83b8fc0be45f..f0a366d75093 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.920 2013/08/10 07:41:19 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.921 2013/08/11 02:42:54 floppym Exp $ + + 11 Aug 2013; Mike Gilbert chromium.eclass: + Don't call EXPORT_FUNCTONS if CHROMIUM_EXPORT_PHASES is set to 'no'. 10 Aug 2013; Ryan Hill toolchain.eclass: Clean up gcc_do_filter_flags a bit more. Drop ppc64 workaround for 3.2/3.3 diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass index 1ef881963910..906968ae1abb 100644 --- a/eclass/chromium.eclass +++ b/eclass/chromium.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.7 2012/09/11 08:15:08 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.8 2013/08/11 02:42:54 floppym Exp $ # @ECLASS: chromium.eclass # @MAINTAINER: @@ -11,7 +11,9 @@ inherit eutils fdo-mime gnome2-utils linux-info -EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm +if [[ ${CHROMIUM_EXPORT_PHASES} != no ]]; then + EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm +fi if [[ ${PN} == chromium ]]; then IUSE+=" custom-cflags" -- cgit v1.2.3-65-gdbad