Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, cryos@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sci-mathematics/mathomatic: ChangeLog mathomatic-12.7.9.ebuild
Date: Fri, 02 Nov 2007 07:02:23
Message-Id: 20071102065936.GZ30328@supernova
1 On 02:37 Fri 02 Nov , Marcus Hanwell (cryos) wrote:
2 > 1.1 sci-mathematics/mathomatic/mathomatic-12.7.9.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/mathomatic/mathomatic-12.7.9.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/mathomatic/mathomatic-12.7.9.ebuild?rev=1.1&content-type=text/plain
6
7 > IUSE="doc icc"
8 >
9 > DEPEND="sys-libs/readline
10 > sys-libs/ncurses
11 > icc? ( dev-lang/icc )"
12 >
13 > src_compile() {
14 > if use icc; then
15 > CC="icc" CFLAGS="-O3 -axKWNBP -ipo" LDFLAGS="-O3 -axKWNBP -ipo -limf" emake READLINE=1 || die "emake failed"
16 > else
17 > emake READLINE=1 || die "emake failed"
18 > fi
19
20 Could you drop the icc USE flag? All you need to do is make sure this
21 package respects CC, CFLAGS and LDFLAGS, and users can take care of the
22 rest in make.conf.
23
24 Thanks,
25 Donnie
26 --
27 gentoo-dev@g.o mailing list

Replies