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

Collapse All | Expand All

(-)gnutls-3.3.11.ebuild (-5 / +15 lines)
Lines 16-22 Link Here
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
17
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
18
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
18
IUSE_LINGUAS=" en cs de fi fr it ms nl pl sv uk vi zh_CN"
19
IUSE="+cxx +crywrap dane doc examples guile nls pkcs11 static-libs test zlib ${IUSE_LINGUAS// / linguas_}"
19
IUSE="+cxx +crywrap dane doc examples guile nls pkcs11 static-libs test +tools zlib ${IUSE_LINGUAS// / linguas_}"
20
# heartbeat support is not disabled until re-licensing happens fullyf
20
# heartbeat support is not disabled until re-licensing happens fullyf
21
21
22
# NOTICE: sys-devel/autogen is required at runtime as we
22
# NOTICE: sys-devel/autogen is required at runtime as we
Lines 24-30 Link Here
24
RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
24
RDEPEND=">=dev-libs/libtasn1-3.9[${MULTILIB_USEDEP}]
25
	>=dev-libs/nettle-2.7[gmp,${MULTILIB_USEDEP}]
25
	>=dev-libs/nettle-2.7[gmp,${MULTILIB_USEDEP}]
26
	>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
26
	>=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]
27
	sys-devel/autogen
27
	tools? ( sys-devel/autogen )
28
	crywrap? ( net-dns/libidn )
28
	crywrap? ( net-dns/libidn )
29
	dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
29
	dane? ( >=net-dns/unbound-1.4.20[${MULTILIB_USEDEP}] )
30
	guile? ( >=dev-scheme/guile-1.8[networking] )
30
	guile? ( >=dev-scheme/guile-1.8[networking] )
Lines 55-60 Link Here
55
	sed -i \
55
	sed -i \
56
		-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
56
		-e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
57
		doc/Makefile.am || die
57
		doc/Makefile.am || die
58
	for f in src/libopts/*.c; do echo > "$f"; done
58
59
59
	# force regeneration of autogen-ed files
60
	# force regeneration of autogen-ed files
60
	local file
61
	local file
Lines 113-121 Link Here
113
	fi
114
	fi
114
}
115
}
115
116
117
myopts() {
118
	if ! use tools; then
119
		echo bin_PROGRAMS=
120
	fi
121
}
122
116
multilib_src_compile() {
123
multilib_src_compile() {
117
	if multilib_is_native_abi; then
124
	if multilib_is_native_abi; then
118
		default
125
		emake $(myopts)
119
126
120
		# symlink certtool for use in other ABIs
127
		# symlink certtool for use in other ABIs
121
		if use test; then
128
		if use test; then
Lines 130-136 Link Here
130
}
137
}
131
138
132
multilib_src_test() {
139
multilib_src_test() {
133
	if multilib_is_native_abi; then
140
	if ! use tools; then
141
		# can't test without tools
142
		true
143
	elif multilib_is_native_abi; then
134
		# parallel testing often fails
144
		# parallel testing often fails
135
		emake -j1 check
145
		emake -j1 check
136
	else
146
	else
Lines 145-151 Link Here
145
155
146
multilib_src_install() {
156
multilib_src_install() {
147
	if multilib_is_native_abi; then
157
	if multilib_is_native_abi; then
148
		emake DESTDIR="${D}" install
158
		emake $(myopts) DESTDIR="${D}" install
149
	else
159
	else
150
		emake -C lib DESTDIR="${D}" install
160
		emake -C lib DESTDIR="${D}" install
151
		emake -C extra DESTDIR="${D}" install
161
		emake -C extra DESTDIR="${D}" install

Return to bug 535782