Gentoo Archives: gentoo-dev

From: justin <jlec@g.o>
To: Samuli Suominen <ssuominen@g.o>
Cc: gentoo-dev@l.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 09:02:48
Message-Id: 50A6010B.3060508@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-gfx/nvidia-cg-toolkit/files: 80cgc-opt-2 by Samuli Suominen
1 On 16/11/12 09:48, Samuli Suominen wrote:
2 > On 16/11/12 00:07, Justin Lecher (jlec) wrote:
3 >> jlec 12/11/15 22:07:13
4 >>
5 >> Modified: 80cgc-opt-2
6 >> Log:
7 >> 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
8 >>
9 >> (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
10 >>
11 >> Revision Changes Path
12 >> 1.2 media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2
13 >>
14 >> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2?rev=1.2&view=markup
15 >> 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
16 >> diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2?r1=1.1&r2=1.2
17 >>
18 >> Index: 80cgc-opt-2
19 >> ===================================================================
20 >> RCS file: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc-opt-2,v
21 >> retrieving revision 1.1
22 >> retrieving revision 1.2
23 >> diff -u -r1.1 -r1.2
24 >> --- 80cgc-opt-2 15 Nov 2012 21:12:55 -0000 1.1
25 >> +++ 80cgc-opt-2 15 Nov 2012 22:07:13 -0000 1.2
26 >> @@ -1,7 +1,11 @@
27 >> -# $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 $
28 >> +# $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 $
29 >>
30 >> # Configures the CG Runtime environment for Bourne shell and compatible shells
31 >> CG_COMPILER_EXE=@GENTOO_PORTAGE_EPREFIX@/opt/bin/cgc
32 >> +CG_INC_PATH=@GENTOO_PORTAGE_EPREFIX@/opt/nvidia-cg-toolkit/include
33 >> +CG_LIB_PATH="ELDPATH"
34 >>
35 >> -# Make sure the helper files are found
36 >> -LDPATH="/opt/nvidia-cg-toolkit/lib"
37 >> +PATH="@GENTOO_PORTAGE_EPREFIX@/opt/nvidia-cg-toolkit/bin"
38 >> +ROOTPATH="@GENTOO_PORTAGE_EPREFIX@/opt/nvidia-cg-toolkit/bin"
39 >> +
40 >> +LDPATH="ELDPATH"
41 >
42 > does this mean it puts the binary-only package, nvidia-cg-toolkit, to
43 > the default search path when you call the linker (compiler)?
44
45 right, I trusted what Mike committed before.
46
47 >
48 > please don't do that, it is counterproductive with the purpose of
49 > putting libraries to /opt. binary only packages should be isolated.
50 >
51 > it was already once reverted for the package...
52 >
53 > it is up the the ebuilds using nvidia-cg-toolkit to append-ldflags
54 > -L/opt/... or similar.
55 >
56 > thanks
57 >
58
59 That's true. I will fix this by adding support for pkg-config.
60
61 Thanks,
62
63 Justin

Attachments

File name MIME type
signature.asc application/pgp-signature