diff options
author | 2012-03-23 19:53:51 +0000 | |
---|---|---|
committer | 2012-03-23 19:53:51 +0000 | |
commit | b3c8aad27b8d30e8bd4a2ae568cfa45f800632b2 (patch) | |
tree | 66a10bbf63c382a5b6b3eb7817578140cbb2a8f1 /eclass/chromium.eclass | |
parent | Drop conditional dependency until there's a way to specify them correctly (fi... (diff) | |
download | historical-b3c8aad27b8d30e8bd4a2ae568cfa45f800632b2.tar.gz historical-b3c8aad27b8d30e8bd4a2ae568cfa45f800632b2.tar.bz2 historical-b3c8aad27b8d30e8bd4a2ae568cfa45f800632b2.zip |
Set IUSE=custom-cflags in the eclass so we can reference it in the die hook.
Diffstat (limited to 'eclass/chromium.eclass')
-rw-r--r-- | eclass/chromium.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass index b338a48a801b..23e05a72f6fd 100644 --- a/eclass/chromium.eclass +++ b/eclass/chromium.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.2 2012/03/14 19:15:44 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.3 2012/03/23 19:53:51 floppym Exp $ # @ECLASS: chromium.eclass # @MAINTAINER: @@ -13,6 +13,10 @@ inherit eutils fdo-mime gnome2-utils linux-info EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm +if [[ ${PN} == chromium ]]; then + IUSE+=" custom-cflags" +fi + # @FUNCTION: chromium_check_kernel_config # @USAGE: # @DESCRIPTION: |