/[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.17 Revision 1.19
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.17 2011/06/06 19:17:38 voyageur Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.19 2011/06/28 15:27:23 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
53 # Gentoo, but (may) cause major headaches on Prefixed Gentoo. If this 53 # Gentoo, but (may) cause major headaches on Prefixed Gentoo. If this
54 # only removes a part of a path it's good that it bails out, as we want 54 # only removes a part of a path it's good that it bails out, as we want
55 # to know when they use some direct include. 55 # to know when they use some direct include.
56 ebegin "Cleaning paths from GNUmakefile" 56 ebegin "Cleaning paths from GNUmakefile"
57 sed -i \ 57 sed -i \
58 -e 's|-I/usr/X11R6/include||g' \ 58 -e 's|-I/usr/X11R6/include/\?||g' \
59 -e 's|-I/usr/include||g' \ 59 -e 's|-I/usr/include/\?||g' \
60 -e 's|-L/usr/X11R6/lib||g' \ 60 -e 's|-L/usr/X11R6/lib/\?||g' \
61 -e 's|-L/usr/lib||g' \ 61 -e 's|-L/usr/lib/\?||g' \
62 GNUmakefile 62 GNUmakefile
63 eend $? 63 eend $?
64 fi 64 fi
65} 65}
66 66
149 GNUSTEP_CONFIG_FILE="${T}"/GNUstep.conf \ 149 GNUSTEP_CONFIG_FILE="${T}"/GNUstep.conf \
150 GNUSTEP_USER_DIR="${T}" \ 150 GNUSTEP_USER_DIR="${T}" \
151 GNUSTEP_USER_DEFAULTS_DIR="${T}"/Defaults \ 151 GNUSTEP_USER_DEFAULTS_DIR="${T}"/Defaults \
152 GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \ 152 GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
153 TAR_OPTIONS="${TAR_OPTIONS} --no-same-owner" \ 153 TAR_OPTIONS="${TAR_OPTIONS} --no-same-owner" \
154 messages=yes \ 154 messages=yes )
155 -j1 )
156 155
157 use debug \ 156 use debug \
158 && GS_ENV=( "${GS_ENV[@]}" "debug=yes" ) \ 157 && GS_ENV=( "${GS_ENV[@]}" "debug=yes" ) \
159 || GS_ENV=( "${GS_ENV[@]}" "debug=no" ) 158 || GS_ENV=( "${GS_ENV[@]}" "debug=no" )
160 159

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20