/[gentoo-x86]/sys-libs/glibc/glibc-2.14.1-r3.ebuild
Gentoo

Diff of /sys-libs/glibc/glibc-2.14.1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.17 Revision 1.18
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/glibc-2.14.1-r3.ebuild,v 1.17 2012/06/01 17:49:17 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.14.1-r3.ebuild,v 1.18 2012/06/01 18:03:35 vapier Exp $
4 4
5inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib 5inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib
6 6
7DESCRIPTION="GNU libc6 (also called glibc2) C library" 7DESCRIPTION="GNU libc6 (also called glibc2) C library"
8HOMEPAGE="http://www.gnu.org/software/libc/libc.html" 8HOMEPAGE="http://www.gnu.org/software/libc/libc.html"
231 nscd/Makefile \ 231 nscd/Makefile \
232 || die "Failed to ensure nscd builds with ssp-all" 232 || die "Failed to ensure nscd builds with ssp-all"
233 fi 233 fi
234} 234}
235 235
236eblit-pkg_preinst-post() {
237 if [[ ${CTARGET} == arm* ]] ; then
238 # Backwards compat support for renaming hardfp ldsos #417287
239 local oldso='/lib/ld-linux.so.3'
240 local nldso='/lib/ld-linux-armhf.so.3'
241 if [[ -e ${D}${nldso} ]] ; then
242 if scanelf -qRyi "${ROOT}$(alt_prefix)"/*bin/ | grep -s "^${oldso}" ; then
243 ewarn "Symlinking old ldso (${oldso}) to new ldso (${nldso})."
244 ewarn "Please rebuild all packages using this old ldso as compat"
245 ewarn "support will be dropped in the future."
246 ln -s "${nldso##*/}" "${D}$(alt_prefix)${oldso}"
247 fi
248 fi
249 fi
250}
251
236maint_pkg_create() { 252maint_pkg_create() {
237 local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}" 253 local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}"
238 cd ${base} 254 cd ${base}
239 local stamp=$(date +%Y%m%d) 255 local stamp=$(date +%Y%m%d)
240 local d 256 local d

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

  ViewVC Help
Powered by ViewVC 1.1.20