diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-06 06:41:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-06 06:41:08 +0000 |
commit | 13c65fc15450c275e705d01deb1b8b79417c9332 (patch) | |
tree | 779939eaa452d318c8d0026aafe8c498449ff690 /sys-devel/bc | |
parent | New version, marked 2.8.1 x86 (Manifest recommit) (diff) | |
download | gentoo-2-13c65fc15450c275e705d01deb1b8b79417c9332.tar.gz gentoo-2-13c65fc15450c275e705d01deb1b8b79417c9332.tar.bz2 gentoo-2-13c65fc15450c275e705d01deb1b8b79417c9332.zip |
cross-compile fixes
Diffstat (limited to 'sys-devel/bc')
-rw-r--r-- | sys-devel/bc/bc-1.06-r5.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-devel/bc/bc-1.06-r5.ebuild b/sys-devel/bc/bc-1.06-r5.ebuild index e1bdbbb94bcf..682fbe4e43b9 100644 --- a/sys-devel/bc/bc-1.06-r5.ebuild +++ b/sys-devel/bc/bc-1.06-r5.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06-r5.ebuild,v 1.18 2004/11/13 05:48:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06-r5.ebuild,v 1.19 2004/12/06 06:38:38 vapier Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="Handy console-based calculator utility" HOMEPAGE="http://www.gnu.org/software/bc/bc.html" @@ -25,6 +25,7 @@ src_unpack() { epatch ${FILESDIR}/bc-1.06-info-fix.diff epatch ${FILESDIR}/bc-1.06-readline42.diff + sed -i -e '/^AR =/s:.*::' lib/Makefile.in # Command line arguments for flex changed from the old # 2.5.4 to 2.5.22, so fix configure if we are using the @@ -49,6 +50,7 @@ src_compile() { x86) replace-flags -Os -O2;; amd64) replace-flags -O? -O0;; esac + tc-export CC AR RANLIB local myconf="" use static && append-ldflags -static |