diff options
author | Ned Ludd <solar@gentoo.org> | 2008-04-24 16:21:38 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2008-04-24 16:21:38 +0000 |
commit | d612841516ff429c371b0a7db729cefe4029149a (patch) | |
tree | 97beac8bbdd9012fa9addea649a6cedf8761c4db /net-dialup/xc/xc-4.3.2-r1.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-d612841516ff429c371b0a7db729cefe4029149a.tar.gz gentoo-2-d612841516ff429c371b0a7db729cefe4029149a.tar.bz2 gentoo-2-d612841516ff429c371b0a7db729cefe4029149a.zip |
- make ebuild cross-compile aware
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-dialup/xc/xc-4.3.2-r1.ebuild')
-rw-r--r-- | net-dialup/xc/xc-4.3.2-r1.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-dialup/xc/xc-4.3.2-r1.ebuild b/net-dialup/xc/xc-4.3.2-r1.ebuild index d928d1d90c5c..78cc33dda000 100644 --- a/net-dialup/xc/xc-4.3.2-r1.ebuild +++ b/net-dialup/xc/xc-4.3.2-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/xc-4.3.2-r1.ebuild,v 1.16 2007/04/15 11:36:51 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/xc-4.3.2-r1.ebuild,v 1.17 2008/04/24 16:21:38 solar Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="unix dialout program" HOMEPAGE="http://www.ibiblio.org/pub/Linux/apps/serialcomm/dialout/" @@ -17,7 +17,7 @@ DEPEND="sys-libs/ncurses" src_unpack() { unpack ${A} - + tc-export CC cd "${S}" epatch "${FILESDIR}/${P}-gentoo.diff" epatch "${FILESDIR}/${P}-implicit-decl.patch" @@ -28,7 +28,8 @@ src_unpack() { # Fixes the Makefile to use gentoo CFLAGS sed -i \ -e "s:GCCOPT\t= -pipe -O2 -fno-strength-reduce -fomit-frame-pointer:GCCOPT\t= ${CFLAGS} -fno-strength-reduce:g" \ - -e 's:-ltermcap:-lncurses:' \ + -e "s:-ltermcap:-lncurses ${LDFLAGS}:" \ + -e 's:CC\t= gcc:CC='${CC}':' \ Makefile || die } |