Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 314913 | Differences between
and this patch

Collapse All | Expand All

(-)a/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild (-6 / +10 lines)
Added Link Here
1
diff -r db4e8d7f66bd -r b739da53e7bd src/makefile
2
--- a/src/makefile	Mon Apr 12 21:21:32 2010 -0400
Added Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.7 2010/04/02 15:42:46 jer Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.7 2010/04/02 15:42:46 jer Exp $
4
4
5
EAPI=2
6
5
inherit eutils toolchain-funcs portability flag-o-matic
7
inherit eutils toolchain-funcs portability flag-o-matic
6
8
7
MY_PN=${PN/-/_}
9
MY_PN=${PN/-/_}
Added Link Here
19
RDEPEND=""
21
RDEPEND=""
20
DEPEND=">=sys-apps/sed-4"
22
DEPEND=">=sys-apps/sed-4"
21
23
22
S="${WORKDIR}/${MY_PN}/src"
24
S=${WORKDIR}/${MY_PN}/src
23
25
24
src_unpack() {
26
src_prepare() {
25
	unpack ${A}
26
	epatch "${FILESDIR}/${P}-properbuild.patch"
27
	epatch "${FILESDIR}/${P}-properbuild.patch"
27
	epatch "${FILESDIR}/${P}-asneeded.patch"
28
	epatch "${FILESDIR}/${P}-asneeded.patch"
28
	epatch "${FILESDIR}/${P}-fbsd.patch"
29
	epatch "${FILESDIR}/${P}-fbsd.patch"
30
	epatch "${FILESDIR}/${P}-no-LD.patch"
31
29
	sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \
32
	sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \
30
		"${S}/makefile" || die "sed makefile failed (sound playing tests)"
33
		makefile || die "sed makefile failed (sound playing tests)"
31
}
34
}
32
35
33
src_compile() {
36
src_compile() {
34
	emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
37
	emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
35
		RAW_LDFLAGS="$(raw-ldflags)" \
36
		DYNAMIC_LD_LIBS="$(dlopen_lib)" \
38
		DYNAMIC_LD_LIBS="$(dlopen_lib)" \
37
		CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
39
		CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
38
		targets || die
40
		targets || die
39
}
41
}
40
42

Return to bug 314913