/[gentoo-x86]/eclass/gnustep-base.eclass
Gentoo

Diff of /eclass/gnustep-base.eclass

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

Revision 1.22 Revision 1.23
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/gnustep-base.eclass,v 1.22 2012/02/08 14:05:26 voyageur Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.23 2012/02/09 16:06:39 voyageur Exp $
4 4
5# @ECLASS: gnustep-base.eclass 5# @ECLASS: gnustep-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# GNUstep Herd <gnustep@gentoo.org> 7# GNUstep Herd <gnustep@gentoo.org>
8# @BLURB: Internal handling of GNUstep pacakges 8# @BLURB: Internal handling of GNUstep pacakges
155 155
156 use debug \ 156 use debug \
157 && GS_ENV=( "${GS_ENV[@]}" "debug=yes" ) \ 157 && GS_ENV=( "${GS_ENV[@]}" "debug=yes" ) \
158 || GS_ENV=( "${GS_ENV[@]}" "debug=no" ) 158 || GS_ENV=( "${GS_ENV[@]}" "debug=no" )
159 159
160 if has_version gnustep-base/gnustep-make[libobjc2]; 160 if grep -q libobjc.so.4 "${GS_MAKEFILES}"/config.make;
161 then 161 then
162 # Set clang for packages that do not respect gnustep-make 162 # Set clang for packages that do not respect gnustep-make
163 # settings (gnustep-base's configure for example) 163 # settings (gnustep-base's configure for example)
164 export CC=clang CXX=clang CPP="clang -E" LD="clang" 164 export CC=clang CXX=clang CPP="clang -E" LD="clang"
165 fi 165 fi

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20