summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2008-04-24 16:21:38 +0000
committerNed Ludd <solar@gentoo.org>2008-04-24 16:21:38 +0000
commitd612841516ff429c371b0a7db729cefe4029149a (patch)
tree97beac8bbdd9012fa9addea649a6cedf8761c4db /net-dialup/xc
parentVersion bump. (diff)
downloadgentoo-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')
-rw-r--r--net-dialup/xc/ChangeLog7
-rw-r--r--net-dialup/xc/xc-4.3.2-r1.ebuild11
2 files changed, 11 insertions, 7 deletions
diff --git a/net-dialup/xc/ChangeLog b/net-dialup/xc/ChangeLog
index ba7ed8734125..82e6b2bab737 100644
--- a/net-dialup/xc/ChangeLog
+++ b/net-dialup/xc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/xc
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/ChangeLog,v 1.19 2007/04/15 11:36:51 mrness Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/ChangeLog,v 1.20 2008/04/24 16:21:38 solar Exp $
+
+ 24 Apr 2008; <solar@gentoo.org> xc-4.3.2-r1.ebuild:
+ - make ebuild cross-compile aware
15 Apr 2007; Alin Năstac <mrness@gentoo.org>
+files/xc-4.3.2-implicit-decl.patch, xc-4.3.2-r1.ebuild:
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
}