/[gentoo-x86]/sys-libs/glibc/files/eblits/src_install.eblit
Gentoo

Diff of /sys-libs/glibc/files/eblits/src_install.eblit

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/sys-libs/glibc/files/eblits/src_install.eblit,v 1.22 2012/07/03 20:07:34 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_install.eblit,v 1.23 2012/08/18 23:14:16 vapier Exp $
4 4
5toolchain-glibc_src_install() { 5toolchain-glibc_src_install() {
6 local GBUILDDIR 6 local GBUILDDIR
7 if want_linuxthreads ; then 7 if want_linuxthreads ; then
8 GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-linuxthreads 8 GBUILDDIR=${WORKDIR}/build-${ABI}-${CTARGET}-linuxthreads
148 insinto /etc 148 insinto /etc
149 doins nscd/nscd.conf posix/gai.conf nss/nsswitch.conf || die 149 doins nscd/nscd.conf posix/gai.conf nss/nsswitch.conf || die
150 doins "${WORKDIR}"/extra/etc/*.conf || die 150 doins "${WORKDIR}"/extra/etc/*.conf || die
151 doinitd "${WORKDIR}"/extra/etc/nscd || die 151 doinitd "${WORKDIR}"/extra/etc/nscd || die
152 152
153 local nscd_args=(
153 sed -i -e "s:@PIDFILE@:$(strings "${D}"/usr/sbin/nscd | grep nscd.pid):" "${D}"/etc/init.d/nscd 154 -e "s:@PIDFILE@:$(strings "${D}"/usr/sbin/nscd | grep nscd.pid):"
155 )
156 version_is_at_least 2.16 || nscd_args+=( -e 's: --foreground : :' )
157 sed -i "${nscd_args[@]}" "${D}"/etc/init.d/nscd
154 158
155 echo 'LDPATH="include ld.so.conf.d/*.conf"' > "${T}"/00glibc 159 echo 'LDPATH="include ld.so.conf.d/*.conf"' > "${T}"/00glibc
156 doenvd "${T}"/00glibc || die 160 doenvd "${T}"/00glibc || die
157 161
158 for d in BUGS ChangeLog* CONFORMANCE FAQ NEWS NOTES PROJECTS README* ; do 162 for d in BUGS ChangeLog* CONFORMANCE FAQ NEWS NOTES PROJECTS README* ; do

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

  ViewVC Help
Powered by ViewVC 1.1.20