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

Collapse All | Expand All

(-)/var/db/paludis/gentoo/app-text/qpdf/qpdf-10.0.1-r1.ebuild (-5 / +13 lines)
Lines 13-26 Link Here
13
SLOT="0/28"
13
SLOT="0/28"
14
14
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
16
IUSE="doc examples libressl ssl static-libs test"
16
IUSE="doc examples +gnutls libressl ssl static-libs test"
17
17
18
RESTRICT="!test? ( test )"
18
RESTRICT="!test? ( test )"
19
19
20
RDEPEND="
20
RDEPEND="
21
	net-libs/gnutls:0=
22
	sys-libs/zlib
21
	sys-libs/zlib
23
	virtual/jpeg:0=
22
	virtual/jpeg:0=
23
	gnutls? (
24
		net-libs/gnutls:0=
25
	)
24
	ssl? (
26
	ssl? (
25
		!libressl? ( dev-libs/openssl:0= )
27
		!libressl? ( dev-libs/openssl:0= )
26
		libressl? ( dev-libs/libressl:0= )
28
		libressl? ( dev-libs/libressl:0= )
Lines 39-52 Link Here
39
src_configure() {
41
src_configure() {
40
	local myeconfargs=(
42
	local myeconfargs=(
41
		--disable-implicit-crypto
43
		--disable-implicit-crypto
42
		--enable-crypto-gnutls
43
		--enable-crypto-native
44
		--enable-crypto-native
44
		--with-default-crypto=gnutls
45
		$(use_enable gnutls crypto-gnutls)
45
		$(use_enable ssl crypto-openssl)
46
		$(use_enable ssl crypto-openssl)
46
		$(use_enable static-libs static)
47
		$(use_enable static-libs static)
47
		$(use_enable test test-compare-images)
48
		$(use_enable test test-compare-images)
48
	)
49
	)
49
	CONFIG_SHELL="/bin/bash" econf "${myeconfargs[@]}"
50
	if use gnutls ; then
51
		myeconfargs+=( --with-default-crypto=gnutls )
52
	elif use ssl ; then
53
		myeconfargs+=( --with-default-crypto=openssl )
54
	else
55
		myeconfargs+=( --with-default-crypto=native )
56
	fi
57
	CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}"
50
}
58
}
51
59
52
src_install() {
60
src_install() {

Return to bug 700900