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

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +14 lines)
Line  Link Here
0
-- media-libs/speex/speex-1.2_rc1.ebuild
0
++ media-libs/speex/speex-1.2_rc1.ebuild
Lines 24-29 src_unpack() { Link Here
24
	unpack ${A}
24
	unpack ${A}
25
	cd "${S}"
25
	cd "${S}"
26
	epatch "${FILESDIR}"/${P}-configure.patch
26
	epatch "${FILESDIR}"/${P}-configure.patch
27
	epatch "${FILESDIR}"/${P}-irix.patch
27
28
28
	sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
29
	sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
29
		"${S}"/libspeex/Makefile.am \
30
		"${S}"/libspeex/Makefile.am \
Lines 34-39 src_unpack() { Link Here
34
src_compile() {
35
src_compile() {
35
	append-flags -D_FILE_OFFSET_BITS=64
36
	append-flags -D_FILE_OFFSET_BITS=64
36
37
38
	# The getopt_long() replacement only gets built
39
	# if getopt.h is entirely missing...
40
	if [[ ${CHOST} == *-irix* ]]; then
41
		if has_version dev-libs/libgnugetopt; then
42
			einfo "Instructing build to use libgnugetopt ..."
43
			append-libs -lgnugetopt
44
		else
45
			ewarn "Lying to configure about (non-GNU) getopt.h ..."
46
			export ac_cv_header_getopt_h=no
47
		fi
48
	fi
49
37
	econf $(use_enable sse) $(use_enable ogg)
50
	econf $(use_enable sse) $(use_enable ogg)
38
	emake || die "emake failed."
51
	emake || die "emake failed."
39
}
52
}

Return to bug 267854