Gentoo Archives: gentoo-dev

From: Troy Dack <troy@××××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] LDFLAGS & KDE ebuild
Date: Tue, 13 Apr 2004 13:47:43
Message-Id: 1081864107.18982.105.camel@carbon
1 Hi peoples,
2 I'm presently putting together an ebuild for synce-kcemirror
3 (http://synce.sourceforge.net/synce/kde/pdamirror.php).
4
5 For some reason the ./configure does not seem to pass on to ld that the
6 kde libs are in a non-standard location, resulting in:
7
8 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkdeprint
9
10 I've managed to get it to build and install, however I don't think the
11 following is really the best:
12
13 src_compile() {
14 cd ${S}
15 LDFLAGS="-L/usr/kde/cvs/lib" econf || die
16 LDFLAGS="-L/usr/kde/src/lib" emake || die
17 }
18
19 So, how can I:
20 a) work out where the kde libs are installed
21 b) pass this nicely to ./configure and make
22
23 Any advice greatly appreciated.
24
25 Thanks
26
27 --
28 Troy Dack Gentoo moves pretty fast; if you don't stop and
29 tad@g.o look around once in a while, you could miss out.
30
31 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D90BE3C
32 Key fingerprint = 1F3D 6C15 16AA 09D5 0C96 92E5 FD89 16F9 4D90 BE3C
33
34
35
36 --
37 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] LDFLAGS & KDE ebuild Caleb Tennis <caleb@g.o>
Re: [gentoo-dev] LDFLAGS & KDE ebuild Ned Ludd <solar@g.o>