/[gentoo-x86]/eclass/cmake-utils.eclass
Gentoo

Diff of /eclass/cmake-utils.eclass

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

Revision 1.95 Revision 1.96
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/cmake-utils.eclass,v 1.95 2013/06/13 21:16:53 creffett Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.96 2013/06/14 21:13:43 creffett Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
63inherit toolchain-funcs multilib flag-o-matic base 63inherit toolchain-funcs multilib flag-o-matic base
64 64
65CMAKE_EXPF="src_compile src_test src_install" 65CMAKE_EXPF="src_compile src_test src_install"
66case ${EAPI:-0} in 66case ${EAPI:-0} in
67 2|3|4|5) CMAKE_EXPF+=" src_prepare src_configure" ;; 67 2|3|4|5) CMAKE_EXPF+=" src_prepare src_configure" ;;
68 1|0) ewarn "EAPI 0 and 1 support is now deprecated." 68 1|0) eqawarn "${CATEGORY}/${PF}: EAPI 0 and 1 support is now deprecated."
69 ewarn "If you are the package maintainer, please" 69 eqawarn "If you are the package maintainer, please"
70 ewarn "update this package to a newer EAPI." 70 eqawarn "update this package to a newer EAPI."
71 eqawarn "Support for EAPI 0-1 for 'cmake-utils.eclass'"
71 ewarn "Support for EAPI 0-1 will be dropped at the beginning of July." 72 eqawarn "will be dropped at the beginning of July."
72 ;; 73 ;;
73 74
74 *) die "Unknown EAPI, Bug eclass maintainers." ;; 75 *) die "Unknown EAPI, Bug eclass maintainers." ;;
75esac 76esac
76EXPORT_FUNCTIONS ${CMAKE_EXPF} 77EXPORT_FUNCTIONS ${CMAKE_EXPF}

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96

  ViewVC Help
Powered by ViewVC 1.1.20