Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 38518
Collapse All | Expand All

(-)/usr/portage/media-libs/a52dec/a52dec-0.7.4.ebuild (-2 / +5 lines)
Lines 11-19 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="x86 ppc sparc hppa amd64"
13
KEYWORDS="x86 ppc sparc hppa amd64"
14
IUSE="oss static"
14
IUSE="oss static djbfft"
15
15
16
DEPEND=">=sys-devel/autoconf-2.52d-r1"
16
DEPEND=">=sys-devel/autoconf-2.52d-r1
17
        djbfft? ( >=dev-libs/djbfft-0.76 )"
17
18
18
src_compile() {
19
src_compile() {
19
	append-flags -fPIC
20
	append-flags -fPIC
Lines 21-26 Link Here
21
	local myconf
22
	local myconf
22
	use oss \
23
	use oss \
23
		|| myconf="${myconf} --disable-oss"
24
		|| myconf="${myconf} --disable-oss"
25
	use djbfft \
26
		&& myconf="${myconf} --enable-djbfft"
24
	use static \
27
	use static \
25
		&& myconf="${myconf} --disable-shared --enable-static" \
28
		&& myconf="${myconf} --disable-shared --enable-static" \
26
		|| myconf="${myconf} --enable-shared --disable-static"
29
		|| myconf="${myconf} --enable-shared --disable-static"

Return to bug 38518