/[gentoo-x86]/sys-apps/busybox/busybox-1.17.4.ebuild
Gentoo

Diff of /sys-apps/busybox/busybox-1.17.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/Attic/busybox-1.17.4.ebuild,v 1.1 2010/11/24 07:35:13 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/Attic/busybox-1.17.4.ebuild,v 1.2 2010/11/27 00:45:02 vapier Exp $
4 4
5EAPI=2 5EAPI=2
6inherit eutils flag-o-matic savedconfig toolchain-funcs 6inherit eutils flag-o-matic savedconfig toolchain-funcs
7 7
8################################################################################ 8################################################################################
94 #sed -i '/bbsh/s:^//::' include/applets.h 94 #sed -i '/bbsh/s:^//::' include/applets.h
95 sed -i '/^#error Aborting compilation./d' applets/applets.c || die 95 sed -i '/^#error Aborting compilation./d' applets/applets.c || die
96 use elibc_glibc && sed -i 's:-Wl,--gc-sections::' Makefile 96 use elibc_glibc && sed -i 's:-Wl,--gc-sections::' Makefile
97 sed -i \ 97 sed -i \
98 -e "/^CROSS_COMPILE/s:=.*:= ${CHOST}-:" \ 98 -e "/^CROSS_COMPILE/s:=.*:= ${CHOST}-:" \
99 -e "/^AR\>/s:=.*:= $(tc-getAR):" \
99 -e "/^CC/s:=.*:= $(tc-getCC):" \ 100 -e "/^CC\>/s:=.*:= $(tc-getCC):" \
101 -e "/^LD\>/s:=.*:= $(tc-getLD):" \
100 -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \ 102 -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \
101 Makefile || die 103 Makefile || die
102} 104}
103 105
104src_configure() { 106src_configure() {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20