Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o, jlec@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-gfx/nvidia-cg-toolkit/files: 80cgc-opt-2
Date: Fri, 16 Nov 2012 08:55:23
Message-Id: 50A5FDD7.4070503@gentoo.org
1 On 16/11/12 00:07, Justin Lecher (jlec) wrote:
2 > jlec 12/11/15 22:07:13
3 >
4 > Modified: 80cgc-opt-2
5 > Log:
6 > media-gfx/nvidia-cg-toolkit: Version BUmp, #270480, thanks Myckel Habets, Piotr Szymaniak and Jean-Marc Hengen working on the ebuild; add multilib support, #262477, thanks Russell Harmon and Dennis Schridde working on this; Add additional variables to enviroment to find headers and libs, #344603
7 >
8 > (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
9 >
10 > Revision Changes Path
11 > 1.2 media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2
12 >
13 > file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2?rev=1.2&view=markup
14 > plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2?rev=1.2&content-type=text/plain
15 > diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2?r1=1.1&r2=1.2
16 >
17 > Index: 80cgc-opt-2
18 > ===================================================================
19 > RCS file: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2,v
20 > retrieving revision 1.1
21 > retrieving revision 1.2
22 > diff -u -r1.1 -r1.2
23 > --- 80cgc-opt-2 15 Nov 2012 21:12:55 -0000 1.1
24 > +++ 80cgc-opt-2 15 Nov 2012 22:07:13 -0000 1.2
25 > @@ -1,7 +1,11 @@
26 > -# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2,v 1.1 2012/11/15 21:12:55 jlec Exp $
27 > +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2,v 1.2 2012/11/15 22:07:13 jlec Exp $
28 >
29 > # Configures the CG Runtime environment for Bourne shell and compatible shells
30 > CG_COMPILER_EXE=@GENTOO_PORTAGE_EPREFIX@/opt/bin/cgc
31 > +CG_INC_PATH=@GENTOO_PORTAGE_EPREFIX@/opt/nvidia-cg-toolkit/include
32 > +CG_LIB_PATH="ELDPATH"
33 >
34 > -# Make sure the helper files are found
35 > -LDPATH="/opt/nvidia-cg-toolkit/lib"
36 > +PATH="@GENTOO_PORTAGE_EPREFIX@/opt/nvidia-cg-toolkit/bin"
37 > +ROOTPATH="@GENTOO_PORTAGE_EPREFIX@/opt/nvidia-cg-toolkit/bin"
38 > +
39 > +LDPATH="ELDPATH"
40
41 does this mean it puts the binary-only package, nvidia-cg-toolkit, to
42 the default search path when you call the linker (compiler)?
43
44 please don't do that, it is counterproductive with the purpose of
45 putting libraries to /opt. binary only packages should be isolated.
46
47 it was already once reverted for the package...
48
49 it is up the the ebuilds using nvidia-cg-toolkit to append-ldflags
50 -L/opt/... or similar.
51
52 thanks

Replies