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

Diff of /sys-libs/glibc/glibc-2.14.ebuild

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

Revision 1.16 Revision 1.17
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.ebuild,v 1.16 2012/06/01 17:49:17 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.14.ebuild,v 1.17 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"
227 nscd/Makefile \ 227 nscd/Makefile \
228 || die "Failed to ensure nscd builds with ssp-all" 228 || die "Failed to ensure nscd builds with ssp-all"
229 fi 229 fi
230} 230}
231 231
232eblit-pkg_preinst-post() {
233 if [[ ${CTARGET} == arm* ]] ; then
234 # Backwards compat support for renaming hardfp ldsos #417287
235 local oldso='/lib/ld-linux.so.3'
236 local nldso='/lib/ld-linux-armhf.so.3'
237 if [[ -e ${D}${nldso} ]] ; then
238 if scanelf -qRyi "${ROOT}$(alt_prefix)"/*bin/ | grep -s "^${oldso}" ; then
239 ewarn "Symlinking old ldso (${oldso}) to new ldso (${nldso})."
240 ewarn "Please rebuild all packages using this old ldso as compat"
241 ewarn "support will be dropped in the future."
242 ln -s "${nldso##*/}" "${D}$(alt_prefix)${oldso}"
243 fi
244 fi
245 fi
246}
247
232maint_pkg_create() { 248maint_pkg_create() {
233 local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}" 249 local base="/usr/local/src/gnu/glibc/glibc-${PV:0:1}_${PV:2:1}"
234 cd ${base} 250 cd ${base}
235 local stamp=$(date +%Y%m%d) 251 local stamp=$(date +%Y%m%d)
236 local d 252 local d

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

  ViewVC Help
Powered by ViewVC 1.1.20