summaryrefslogtreecommitdiff
path: root/content/glibc-2.3.2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'content/glibc-2.3.2.oe')
-rw-r--r--content/glibc-2.3.2.oe63
1 files changed, 60 insertions, 3 deletions
diff --git a/content/glibc-2.3.2.oe b/content/glibc-2.3.2.oe
index b7e9210cd7..d4273bb947 100644
--- a/content/glibc-2.3.2.oe
+++ b/content/glibc-2.3.2.oe
@@ -1,12 +1,66 @@
DESCRIPTION="GNU C Library"
LICENSE="LGPL"
SECTION="libs"
-DEPENDS="content/kernel-headers"
+DEPENDS="virtual/kernel-header"
RDEPENDS=""
PRIORITY=required
MAINTAINER="Chris Larson <kergoth@handhelds.org>"
-SRC_URI="ftp://ftp.gnu.org/gnu/glibc/${P}.tar.gz ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-${PV}.tar.gz file://${FILESDIR}/${P}-200304020432.patch;patch=1 file://${FILESDIR}/sedscript.patch;patch=1 file://${FILESDIR}/noinfo.patch;patch=1"
+SRC_URI="ftp://ftp.gnu.org/gnu/glibc/${P}.tar.gz ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-${PV}.tar.gz"
+SRC_URI_append=' file://${FILESDIR}/noinfo.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/10_cvs.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/30_glibc232-base.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/50_glibc232-arm-dwarf2-buildfix.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/50_glibc232-m68k-dwarf2-buildfix.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/50_glibc232-mips-buildfix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/50_glibc23-hppa-entry.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-futimes-buildfix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-iconvdata-fix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-locales-header.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/80_glibc232-wcsmbs-fix.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/81_glibc232-utimes-fix.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/alpha-crti.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/alpha-pic.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/alpha-pwrite.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/arm-no-hwcap.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/arm-output-format.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/fhs-linux-paths.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-eo_EO.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-locales.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibc22-m68k-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-m68k-fpic.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-nss-upgrade.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc22-ttyname-devfs.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibc23-01-hppa-dl-machine.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-07-hppa-atomicity.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-asserth-decls.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibc23-cmov.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-ctype-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-errno.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-function-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-hppa-compat.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-hppa-malloc8.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/glibc23-hppa-Rminkernel.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/glibcbug.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/hurd-enable-ldconfig.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/ldconfig.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/ldd.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/libgcc-compat-all.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/libgcc-compat-other.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/librt-mips.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/locale-es_AR.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/locales-stuff.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/locales-supported.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/lo_LA.UTF-8_not_supported.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/makeconfig.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/nss_compat-shadow.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/powerpc-sysconf.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/revert-old-libio.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/s390-tls.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/sparc64-fixups.patch;patch=1'
+SRC_URI_append=' file://${FILESDIR}/sparcv8-target.patch;patch=1;pnum=0'
+SRC_URI_append=' file://${FILESDIR}/syslog-backrev.patch;patch=1;pnum=0'
+#SRC_URI_append=' file://${FILESDIR}/dyn-ldconfig.diff;patch=1;pnum=0'
PROVIDES=virtual/libc
S="${WORKDIR}/${P}"
@@ -15,6 +69,8 @@ EXTRA_OECONF="--with-elf --disable-profile --enable-add-ons=linuxthreads --with-
EXTRA_OEMAKE=
PACKAGES="libc6"
+FILES=
+FILES_libc6="*"
do_unpack() {
set -e
@@ -25,6 +81,7 @@ do_unpack() {
do_compile() {
set -e
+ touch sysdeps/${ARCH}/framestate.c
mkdir -p ${builddir}
cd ${builddir}
base_do_compile $@
@@ -32,5 +89,5 @@ do_compile() {
do_install() {
set -e
- ${MAKE} install_root=${D} install
+ oe_runmake -C ${builddir} install_root=${D} install
}