Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Prefixing media-libs/xine-lib
Date: Tue, 21 Oct 2008 11:12:57
Message-Id: 20081021111309.GC745@gentoo.org
In Reply to: Re: [gentoo-alt] Prefixing media-libs/xine-lib by Daniel Vergien
1 On 21-10-2008 13:06:22 +0200, Daniel Vergien wrote:
2 >>
3 >> Your ebuild would actualy help to resolve the double-prefix issue ;)
4 >>
5 >
6 > Here it is.
7
8 > # Set the correct win32 dll path, bug #197236
9 > local win32dir
10 > if has_multilib_profile ; then
11 > win32dir=/usr/$(ABI="x86" get_libdir)/win32
12 > else
13 > win32dir=/usr/$(get_libdir)/win32
14 > fi
15
16 non-prefixed
17
18 > --with-xv-path=/usr/$(get_libdir) \
19
20 You need --with-xv-path=${EPREFIX}/usr/$(get_libdir) here
21
22 > --with-w32-path=${win32dir} \
23
24 either prefix win32-path, or do it here, like above
25
26 > --with-real-codecs-path=/usr/$(get_libdir)/codecs \
27
28 ditto
29
30 > --prefix=/ || die "econf failed."
31
32 how about ${EPREFIX}/ here? :)
33
34 > src_install() {
35 > emake DESTDIR="${ED}" \
36
37 DESTDIR="${D}", or you'll have a double prefix
38
39 > docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \
40
41 docdir and htmldir need ${EPREFIX}
42
43 That'll probably fix your problems.
44
45
46 --
47 Fabian Groffen
48 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] Prefixing media-libs/xine-lib Daniel Vergien <daniel.vergien@×××××××××××××××.de>