glibc: update to 2.9, use snapshot from redhat.

--HG--
extra : convert_revision : 9dca5d1f391f5cafeb045f1e0dd64159bc403cbe
This commit is contained in:
Juan RP 2008-11-24 22:51:43 +01:00
parent 9d9ebb8dcd
commit b52915760c

View file

@ -1,8 +1,9 @@
# Template file for 'glibc' # Template file for 'glibc'
pkgname=glibc pkgname=glibc
version=2.8 version=2.9
wrksrc="libc" glibc_snapdate=20081124
distfiles="ftp://ftp.archlinux.org/other/glibc/$pkgname-2.8_20080828.tar.bz2" wrksrc="$pkgname-$version-$glibc_snapdate"
distfiles="ftp://sources.redhat.com/pub/glibc/snapshots/$pkgname-$version-$glibc_snapdate.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_script="../configure" configure_script="../configure"
configure_args="--with-tls -disable-profile --with-__thread configure_args="--with-tls -disable-profile --with-__thread
@ -13,7 +14,7 @@ make_install_target="install_root=$XBPS_DESTDIR/$pkgname-$version install
localedata/install-locales" localedata/install-locales"
short_desc="The GNU C library" short_desc="The GNU C library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f5756668f201e093cae0404e59dcf8c43ccc07757fd0a7455298ed89126c366a checksum=cca278180fcd961ed4bcd735b149bd79fa5c01e52abad604e9bfb591e4d7513d
long_desc=" long_desc="
The GNU C Library is the standard system C library for all GNU systems, The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system. It provides the and is an important part of what makes up a GNU system. It provides the
@ -27,8 +28,8 @@ build_depends="gcc-4.3.2"
pre_configure() pre_configure()
{ {
# We must configure it in another directory. # We must configure it in another directory.
mkdir -p $wrksrc/build_obj && cd $wrksrc/build_obj
wrksrc=$wrksrc/build_obj wrksrc=$wrksrc/build_obj
mkdir -p $wrksrc
echo "slibdir=/lib" > $wrksrc/configparms echo "slibdir=/lib" > $wrksrc/configparms
# glibc fails to build if -march not set for a minimal cpu. # glibc fails to build if -march not set for a minimal cpu.
if [ "$xbps_machine" != "x86_64" ]; then if [ "$xbps_machine" != "x86_64" ]; then
@ -59,5 +60,5 @@ post_install()
$destdir/usr/bin/ldd $destdir/usr/bin/ldd
fi fi
wrksrc=libc wrksrc=${wrksrc%%/build_obj}
} }