/[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.21 Revision 1.22
1# Copyright 1999-2011 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.21 2011/11/18 14:23:03 voyageur Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.22 2012/02/08 14:05:26 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];
161 then
162 # Set clang for packages that do not respect gnustep-make
163 # settings (gnustep-base's configure for example)
164 export CC=clang CXX=clang CPP="clang -E" LD="clang"
165 fi
166
160 return 0 167 return 0
161 fi 168 fi
162 die "gnustep-make not installed!" 169 die "gnustep-make not installed!"
163} 170}
164 171

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

  ViewVC Help
Powered by ViewVC 1.1.20