| 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-apps/busybox/busybox-1.20.2.ebuild,v 1.10 2012/10/05 18:03:52 ranger Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.20.2.ebuild,v 1.11 2012/10/20 19:39:38 vapier Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | inherit eutils flag-o-matic savedconfig toolchain-funcs multilib |
6 | inherit eutils flag-o-matic savedconfig toolchain-funcs multilib |
| 7 | |
7 | |
| 8 | ################################################################################ |
8 | ################################################################################ |
| … | |
… | |
| 101 | sed -i \ |
101 | sed -i \ |
| 102 | -e "/^CROSS_COMPILE/s:=.*:= ${CHOST}-:" \ |
102 | -e "/^CROSS_COMPILE/s:=.*:= ${CHOST}-:" \ |
| 103 | -e "/^AR\>/s:=.*:= $(tc-getAR):" \ |
103 | -e "/^AR\>/s:=.*:= $(tc-getAR):" \ |
| 104 | -e "/^CC\>/s:=.*:= $(tc-getCC):" \ |
104 | -e "/^CC\>/s:=.*:= $(tc-getCC):" \ |
| 105 | -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \ |
105 | -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \ |
|
|
106 | -e "/^PKG_CONFIG\>/s:=.*:= $(tc-getPKG_CONFIG):" \ |
| 106 | Makefile || die |
107 | Makefile || die |
| 107 | sed -i \ |
108 | sed -i \ |
| 108 | -e 's:-static-libgcc::' \ |
109 | -e 's:-static-libgcc::' \ |
| 109 | Makefile.flags || die |
110 | Makefile.flags || die |
| 110 | } |
111 | } |