Diff gsoap-2.8.114-r1 with a gsoap-2.8.130

/usr/portage/net-libs/gsoap/gsoap-2.8.130.ebuild 2023-10-09 14:52:34.476368476 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit autotools
7 7

  
8 8
MY_P="${PN}-2.8"
9

  
10 9
DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services"
11 10
HOMEPAGE="http://gsoap2.sourceforge.net"
12 11
SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
12
S="${WORKDIR}/${MY_P}"
13 13

  
14 14
LICENSE="|| ( gSOAP-1.3b GPL-2+-with-openssl-exception ) GPL-2+"
15 15
SLOT="0"
16
KEYWORDS="amd64 x86"
16
KEYWORDS="~amd64 ~x86"
17 17
IUSE="doc debug examples ipv6 gnutls +ssl"
18 18

  
19 19
RDEPEND="
20 20
	sys-libs/zlib
21 21
	gnutls? ( net-libs/gnutls )
22 22
	ssl? (
23
		dev-libs/openssl:0=
23
		dev-libs/openssl:=
24 24
	)
25 25
"
26
DEPEND="${RDEPEND}
26
DEPEND="
27
	${RDEPEND}
28
"
29
BDEPEND="
27 30
	app-arch/unzip
28
	sys-devel/flex
29 31
	sys-devel/bison
32
	sys-devel/flex
30 33
"
31 34

  
32 35
PATCHES=(
33
	# Fix Pre-ISO headers
34
	"${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
35

  
36
	# enable shared libs https://bugs.gentoo.org/583398
37
	"${FILESDIR}/${PN}-2.8.91-shared_libs.patch"
36
	# Enable shared libs (bug #583398)
37
	"${FILESDIR}/${PN}-2.8.130-shared_libs.patch"
38 38
)
39 39

  
40
S="${WORKDIR}/${MY_P}"
41

  
42 40
src_prepare() {
43 41
	default
44 42
	eautoreconf
45 43
}
46 44

  
47 45
src_configure() {
46
	unset YACC LEX
47

  
48 48
	local myeconfargs=(
49 49
		# Don't include xlocale.h as it got removed in >=glibc-2.26
50 50
		--disable-xlocale
51 51
		$(use_enable debug)
52 52
		$(use_enable gnutls)
53
		$(usex ipv6 --enable-ipv6 '')
54
		$(usex ssl '' --disable-ssl)
53
		$(usev ipv6 --enable-ipv6)
54
		$(usev !ssl --disable-ssl)
55 55
	)
56

  
56 57
	econf "${myeconfargs[@]}"
57 58
}
58 59

  
59 60
src_install() {
60 61
	emake DESTDIR="${D}" install
61 62

  
62
	# yes, we also install the license-file since
63
	# it contains info about how to apply the licenses
63
	# Yes, we also install the license-file since
64
	# it contains info about how to apply the licenses.
64 65
	dodoc *.txt
65 66

  
66 67
	docinto html
Thank you!