diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-26 13:14:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-26 13:14:43 +0000 |
commit | fe46088a04eb1d3797c7b2d2941b162c5eafb622 (patch) | |
tree | 2ad3d2dc35cbaf95ba5e55b69d560bea50f9b49f /app-arch/ncompress | |
parent | old (diff) | |
download | historical-fe46088a04eb1d3797c7b2d2941b162c5eafb622.tar.gz historical-fe46088a04eb1d3797c7b2d2941b162c5eafb622.tar.bz2 historical-fe46088a04eb1d3797c7b2d2941b162c5eafb622.zip |
use $(tc-getCC)
Diffstat (limited to 'app-arch/ncompress')
-rw-r--r-- | app-arch/ncompress/ncompress-4.2.4-r1.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app-arch/ncompress/ncompress-4.2.4-r1.ebuild b/app-arch/ncompress/ncompress-4.2.4-r1.ebuild index 0db6a0e56ebe..4b5385af9a8a 100644 --- a/app-arch/ncompress/ncompress-4.2.4-r1.ebuild +++ b/app-arch/ncompress/ncompress-4.2.4-r1.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/app-arch/ncompress/ncompress-4.2.4-r1.ebuild,v 1.9 2004/10/10 02:28:47 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/ncompress/ncompress-4.2.4-r1.ebuild,v 1.10 2004/10/26 13:13:11 vapier Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Another uncompressor for compatibility" HOMEPAGE="ftp://ftp.leo.org/pub/comp/os/unix/linux/sunsite/utils/compress/" @@ -23,8 +23,10 @@ src_unpack() { } src_compile() { - sed -e "s:options= :options= ${CFLAGS} :" \ - -e "s:CC=cc:CC=${CC:-gcc}:" Makefile.def > Makefile + sed \ + -e "s:options= :options= ${CFLAGS} :" \ + -e "s:CC=cc:CC=$(tc-getCC):" \ + Makefile.def > Makefile make || die } |