/[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.1 Revision 1.3
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.1 2007/08/18 13:12:57 grobian Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.3 2007/09/17 10:58:04 grobian Exp $
4 4
5inherit eutils flag-o-matic 5inherit eutils flag-o-matic
6 6
7# Inner gnustep eclass, should only be inherited directly by gnustep-base 7# Inner gnustep eclass, should only be inherited directly by gnustep-base
8# packages 8# packages
96 addpredict "/root/GNUstep" 96 addpredict "/root/GNUstep"
97 97
98 # Set rpath in ldflags when available 98 # Set rpath in ldflags when available
99 case ${CHOST} in 99 case ${CHOST} in
100 *-linux-gnu|*-solaris*) 100 *-linux-gnu|*-solaris*)
101 is-ldflagq -Wl,-rpath="${GNUSTEP_SYSTEM_LIBRARIES}" \
101 append-ldflags \ 102 || append-ldflags \
102 -Wl,-rpath="${GNUSTEP_SYSTEM_LIBRARIES}" \ 103 -Wl,-rpath="${GNUSTEP_SYSTEM_LIBRARIES}"
103 -L"${GNUSTEP_SYSTEM_LIBRARIES}"
104 ;;
105 *)
106 append-ldflags \
107 -L"${GNUSTEP_SYSTEM_LIBRARIES}"
108 ;; 104 ;;
109 esac 105 esac
106 is-ldflagq -L"${GNUSTEP_SYSTEM_LIBRARIES}" \
107 || append-ldflags \
108 -L"${GNUSTEP_SYSTEM_LIBRARIES}"
110 109
111 # Set up env vars for make operations 110 # Set up env vars for make operations
112 GS_ENV=( AUXILIARY_LDFLAGS="${LDFLAGS}" \ 111 GS_ENV=( AUXILIARY_LDFLAGS="${LDFLAGS}" \
113 DESTDIR="${D}" \ 112 DESTDIR="${D}" \
114 HOME="${T}" \ 113 HOME="${T}" \
171 echo "echo Applying ${P} default configuration ..." >> "${T}"/${cfile} 170 echo "echo Applying ${P} default configuration ..." >> "${T}"/${cfile}
172 gnustep_config_script | \ 171 gnustep_config_script | \
173 while read line ; do 172 while read line ; do
174 echo "${line}" >> "${T}"/${cfile} 173 echo "${line}" >> "${T}"/${cfile}
175 done 174 done
176 echo "done" >> "${T}"/${cfile} 175 echo 'echo "done"' >> "${T}"/${cfile}
177 176
178 exeinto ${GNUSTEP_SYSTEM_TOOLS}/Gentoo 177 exeinto ${GNUSTEP_SYSTEM_TOOLS}/Gentoo
179 doexe "${T}"/${cfile} 178 doexe "${T}"/${cfile}
180} 179}
181 180

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20