summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-09 16:01:39 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-09 16:01:39 +0000
commit3357d8515ef76eaa960b071f8ed051826665f705 (patch)
tree9753ab670bb8f76c41bf51d428f09eee7ea224ac /dev-libs/uclibc
parentfixup moz/ff/tb local flags (diff)
downloadgentoo-2-3357d8515ef76eaa960b071f8ed051826665f705.tar.gz
gentoo-2-3357d8515ef76eaa960b071f8ed051826665f705.tar.bz2
gentoo-2-3357d8515ef76eaa960b071f8ed051826665f705.zip
fix ld.so.cache problems with the loader
Diffstat (limited to 'dev-libs/uclibc')
-rw-r--r--dev-libs/uclibc/uclibc-0.9.26-r5.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/uclibc/uclibc-0.9.26-r5.ebuild b/dev-libs/uclibc/uclibc-0.9.26-r5.ebuild
index 79c86023206b..d8db3053180a 100644
--- a/dev-libs/uclibc/uclibc-0.9.26-r5.ebuild
+++ b/dev-libs/uclibc/uclibc-0.9.26-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/uclibc/uclibc-0.9.26-r5.ebuild,v 1.2 2004/08/09 14:42:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/uclibc/uclibc-0.9.26-r5.ebuild,v 1.3 2004/08/09 16:01:39 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -112,6 +112,7 @@ src_unpack() {
sed -i -e "s:${def}=y:# ${def} is not set:" .config
done
if use debug ; then
+ echo "SUPPORT_LD_DEBUG=y" >> .config
echo "DODEBUG=y" >> .config
fi
@@ -172,6 +173,7 @@ src_unpack() {
emake clean >/dev/null || die "could not clean"
+ sed -i 's:-DUCLIBC:$(LIBRARY_CACHE) -DUCLIBC:' ldso/{ldso,libdl}/Makefile
sed -i 's:\$(R_PREFIX):\\"$(RUNTIME_PREFIX)\\" $(LIBRARY_CACHE):' utils/Makefile
sed -i 's: I\.: -I.:' ldso/libdl/Makefile
}