diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-27 08:24:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-27 08:24:24 +0000 |
commit | a1322487570c90a5c707f9ae7d50bc2baaa2b38a (patch) | |
tree | e49a1ac339e370f6ff3afd3cf02c02f053eb43e2 /app-sci/primegen | |
parent | dont access $CC (diff) | |
download | gentoo-2-a1322487570c90a5c707f9ae7d50bc2baaa2b38a.tar.gz gentoo-2-a1322487570c90a5c707f9ae7d50bc2baaa2b38a.tar.bz2 gentoo-2-a1322487570c90a5c707f9ae7d50bc2baaa2b38a.zip |
dont access $CC
Diffstat (limited to 'app-sci/primegen')
-rw-r--r-- | app-sci/primegen/primegen-0.97.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app-sci/primegen/primegen-0.97.ebuild b/app-sci/primegen/primegen-0.97.ebuild index 390df1a91cc9..f258a9dd3179 100644 --- a/app-sci/primegen/primegen-0.97.ebuild +++ b/app-sci/primegen/primegen-0.97.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/primegen/primegen-0.97.ebuild,v 1.3 2003/04/06 07:42:01 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/primegen/primegen-0.97.ebuild,v 1.4 2004/04/27 08:22:03 vapier Exp $ -IUSE="" +inherit gcc DESCRIPTION="A small, fast library to generate primes in order" HOMEPAGE="http://cr.yp.to/primegen.html" @@ -11,21 +11,22 @@ SRC_URI="http://cr.yp.to/primegen/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="x86" +IUSE="" DEPEND="virtual/glibc" src_compile() { - echo ${CC} ${CFLAGS} > conf-cc + echo $(gcc-getCC) ${CFLAGS} > conf-cc echo /usr > conf-home - echo ${CC} ${CFLAGS} > conf-ld + echo $(gcc-getCC) ${CFLAGS} > conf-ld emake || die } src_install() { - dobin primegaps primes primespeed + dobin primegaps primes primespeed || die "dobin failed" doman primegaps.1 primes.1 primespeed.1 doman error.3 error_str.3 primegen.3 - dolib.a primegen.a + dolib.a primegen.a || die "dolib.a failed" insinto /usr/include doins primegen.h uint32.h uint64.h dodoc BLURB CHANGES README |