summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-05 07:50:43 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-05 07:50:43 +0000
commitd02add7b28df42654100308b116bda0181b25b11 (patch)
tree18e7dc067ace60d79c460739ca3207485622ee8e /sys-apps/busybox
parentBumping upstream releases 1.3.13 and 1.4.5 (diff)
downloadgentoo-2-d02add7b28df42654100308b116bda0181b25b11.tar.gz
gentoo-2-d02add7b28df42654100308b116bda0181b25b11.tar.bz2
gentoo-2-d02add7b28df42654100308b116bda0181b25b11.zip
fix USE=debug #94937
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/busybox')
-rw-r--r--sys-apps/busybox/busybox-1.00-r4.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-apps/busybox/busybox-1.00-r4.ebuild b/sys-apps/busybox/busybox-1.00-r4.ebuild
index 46b77cdf1aa1..fcd97c368000 100644
--- a/sys-apps/busybox/busybox-1.00-r4.ebuild
+++ b/sys-apps/busybox/busybox-1.00-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.00-r4.ebuild,v 1.10 2005/06/04 23:26:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.00-r4.ebuild,v 1.11 2005/06/05 07:50:43 vapier Exp $
inherit eutils
@@ -34,6 +34,8 @@ busybox_config_option() {
case $1 in
y) sed -i -e "s:.*CONFIG_$2.*set:CONFIG_$2=y:g" .config;;
n) sed -i -e "s:CONFIG_$2=y:# CONFIG_$2 is not set:g" .config;;
+ Y) echo "CONFIG_$2=y" >> .config;;
+ N) echo "CONFIG_$2=n" >> .config;;
*) use $1 \
&& busybox_config_option y $2 \
|| busybox_config_option n $2
@@ -111,6 +113,10 @@ src_unpack() {
busybox_config_option static STATIC
busybox_config_option debug DEBUG
+ use debug \
+ && busybox_config_option Y NO_DEBUG_LIB \
+ && busybox_config_option N DMALLOC \
+ && busybox_config_option N EFENCE
# 1.00-pre5 uses the old selinux api which is no longer maintained
#busybox_config_option selinux SELINUX
@@ -144,7 +150,7 @@ src_compile() {
busybox || failed=1
if [[ ${failed} == 1 ]] ; then
if has_version '<sys-libs/glibc-2.3.5' ; then
- eerror "Your glibc sucks, ignorning static build failure."
+ eerror "Your glibc has broken static support, ignorning static build failure."
eerror "See http://bugs.gentoo.org/show_bug.cgi?id=94879"
cp busybox.bak bb
else