/[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.23 Revision 1.24
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.23 2012/02/09 16:06:39 voyageur Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.24 2012/02/20 10:14:44 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
119 # Reset GNUstep variables 119 # Reset GNUstep variables
120 source "${GS_MAKEFILES}"/GNUstep-reset.sh 120 source "${GS_MAKEFILES}"/GNUstep-reset.sh
121 source "${GS_MAKEFILES}"/GNUstep.sh 121 source "${GS_MAKEFILES}"/GNUstep.sh
122 122
123 # Create compilation GNUstep.conf if it does not exist yet 123 # Create compilation GNUstep.conf if it does not exist yet
124 if [[ ! -f ${T}/GNUstep.conf ]]; then 124 if [[ ! -f ${WORKDIR}/GNUstep.conf ]]; then
125 cp "${EPREFIX}"/etc/GNUstep/GNUstep.conf "${T}" \ 125 cp "${EPREFIX}"/etc/GNUstep/GNUstep.conf "${WORKDIR}" \
126 || die "GNUstep.conf copy failed" 126 || die "GNUstep.conf copy failed"
127 sed -e "s#\(GNUSTEP_USER_.*DIR.*=\)#\1${T}/#" \ 127 sed -e "s#\(GNUSTEP_USER_.*DIR.*=\)#\1${WORKDIR}/#" \
128 -i "${T}"/GNUstep.conf || die "GNUstep.conf sed failed" 128 -i "${WORKDIR}"/GNUstep.conf || die "GNUstep.conf sed failed"
129 fi 129 fi
130 130
131 131
132 if [[ ! -d ${EPREFIX}/usr/share/GNUstep/Makefiles ]]; then 132 if [[ ! -d ${EPREFIX}/usr/share/GNUstep/Makefiles ]]; then
133 # Set rpath in ldflags when available 133 # Set rpath in ldflags when available
143 # Set up env vars for make operations 143 # Set up env vars for make operations
144 GS_ENV=( AUXILIARY_LDFLAGS="${LDFLAGS}" \ 144 GS_ENV=( AUXILIARY_LDFLAGS="${LDFLAGS}" \
145 ADDITIONAL_NATIVE_LIB_DIRS="${GNUSTEP_SYSTEM_LIBRARIES}" \ 145 ADDITIONAL_NATIVE_LIB_DIRS="${GNUSTEP_SYSTEM_LIBRARIES}" \
146 DESTDIR="${D}" \ 146 DESTDIR="${D}" \
147 HOME="${T}" \ 147 HOME="${T}" \
148 GNUSTEP_CONFIG_FILE="${T}"/GNUstep.conf \ 148 GNUSTEP_CONFIG_FILE="${WORKDIR}"/GNUstep.conf \
149 GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \ 149 GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
150 TAR_OPTIONS="${TAR_OPTIONS} --no-same-owner" \ 150 TAR_OPTIONS="${TAR_OPTIONS} --no-same-owner" \
151 messages=yes ) 151 messages=yes )
152 152
153 use doc \ 153 use doc \

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

  ViewVC Help
Powered by ViewVC 1.1.20