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

(-)serf-1.3.9.ebuild (-10 / +13 lines)
Lines 1-9 Link Here
1
# Copyright 2008-2018 Arfrever Frehtes Taifersar Arahesis and others
1
# Copyright 1999-2019 Gentoo Authors
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
3
4
EAPI="5"
4
EAPI="7"
5
5
6
inherit eutils scons-utils toolchain-funcs flag-o-matic
6
PYTHON_COMPAT=( python3_6 )
7
8
inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic
7
9
8
DESCRIPTION="HTTP client library"
10
DESCRIPTION="HTTP client library"
9
HOMEPAGE="https://serf.apache.org/"
11
HOMEPAGE="https://serf.apache.org/"
Lines 11-17 Link Here
11
13
12
LICENSE="Apache-2.0"
14
LICENSE="Apache-2.0"
13
SLOT="1"
15
SLOT="1"
14
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
16
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
15
IUSE="kerberos static-libs libressl"
17
IUSE="kerberos static-libs libressl"
16
RESTRICT="test"
18
RESTRICT="test"
17
19
Lines 23-34 Link Here
23
DEPEND="${RDEPEND}
25
DEPEND="${RDEPEND}
24
	>=dev-util/scons-2.3.0"
26
	>=dev-util/scons-2.3.0"
25
27
28
PATCHES=( "${FILESDIR}"/${PN}-1.3.8-static-lib.patch
29
	"${FILESDIR}"/${PN}-1.3.8-openssl.patch
30
	"${FILESDIR}"/${PN}-1.3.9-python3.patch
31
	"${FILESDIR}"/${PN}-1.3.9-python3_byte.patch )
32
26
src_prepare() {
33
src_prepare() {
27
	#epatch "${FILESDIR}/${PN}-1.3.2-disable_linking_against_unneeded_libraries.patch"
34
	default
28
	#epatch "${FILESDIR}/${PN}-1.3.8-scons_variables.patch"
29
	#epatch "${FILESDIR}/${PN}-1.3.8-tests.patch"
30
	epatch "${FILESDIR}/${PN}-1.3.8-static-lib.patch"
31
	epatch "${FILESDIR}/${PN}-1.3.8-openssl.patch"
32
35
33
	# https://code.google.com/p/serf/issues/detail?id=133
36
	# https://code.google.com/p/serf/issues/detail?id=133
34
	sed -e "/env.Append(CCFLAGS=\['-O2'\])/d" -i SConstruct
37
	sed -e "/env.Append(CCFLAGS=\['-O2'\])/d" -i SConstruct
Lines 59-65 Link Here
59
		myesconsargs+=( GSSAPI="${SYSROOT}${EPREFIX}/usr/bin/krb5-config" )
62
		myesconsargs+=( GSSAPI="${SYSROOT}${EPREFIX}/usr/bin/krb5-config" )
60
	fi
63
	fi
61
64
62
	escons
65
	escons "${myesconsargs[@]}"
63
}
66
}
64
67
65
src_test() {
68
src_test() {

Return to bug 701760