diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2012-02-09 16:06:39 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2012-02-09 16:06:39 +0000 |
commit | 2b3d54d7cf56f28a03f36cc0fbcf376796640738 (patch) | |
tree | b2334eaff65243a9d268bd13bfd487983b9c364e | |
parent | Drop older version (diff) | |
download | historical-2b3d54d7cf56f28a03f36cc0fbcf376796640738.tar.gz historical-2b3d54d7cf56f28a03f36cc0fbcf376796640738.tar.bz2 historical-2b3d54d7cf56f28a03f36cc0fbcf376796640738.zip |
Use check on configuration file instead of has_version for EAPI0 ebuilds
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/gnustep-base.eclass | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 44ce4c0b5f60..109714d428f0 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.120 2012/02/08 14:05:26 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.121 2012/02/09 16:06:39 voyageur Exp $ + + 09 Feb 2012; Bernard Cafarelli <voyageur@gentoo.org> gnustep-base.eclass: + Use check on configuration file instead of has_version for EAPI0 ebuilds 08 Feb 2012; Bernard Cafarelli <voyageur@gentoo.org> gnustep-base.eclass: Force clang when using experimental libobjc2 support diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass index d49509ac10da..6d4ff9909e69 100644 --- a/eclass/gnustep-base.eclass +++ b/eclass/gnustep-base.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/gnustep-base.eclass,v 1.22 2012/02/08 14:05:26 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.23 2012/02/09 16:06:39 voyageur Exp $ # @ECLASS: gnustep-base.eclass # @MAINTAINER: @@ -157,7 +157,7 @@ egnustep_env() { && GS_ENV=( "${GS_ENV[@]}" "debug=yes" ) \ || GS_ENV=( "${GS_ENV[@]}" "debug=no" ) - if has_version gnustep-base/gnustep-make[libobjc2]; + if grep -q libobjc.so.4 "${GS_MAKEFILES}"/config.make; then # Set clang for packages that do not respect gnustep-make # settings (gnustep-base's configure for example) |