Lines 11-23
Link Here
|
11 |
# subslot = libqpdf soname version |
11 |
# subslot = libqpdf soname version |
12 |
SLOT="0/28" |
12 |
SLOT="0/28" |
13 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris" |
13 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris" |
14 |
IUSE="doc examples libressl ssl test" |
14 |
IUSE="doc examples +gnutls libressl ssl test" |
15 |
RESTRICT="!test? ( test )" |
15 |
RESTRICT="!test? ( test )" |
16 |
|
16 |
|
17 |
RDEPEND=" |
17 |
RDEPEND=" |
18 |
net-libs/gnutls:0= |
|
|
19 |
sys-libs/zlib |
18 |
sys-libs/zlib |
20 |
virtual/jpeg:0= |
19 |
virtual/jpeg:0= |
|
|
20 |
gnutls? ( |
21 |
net-libs/gnutls:0= |
22 |
) |
21 |
ssl? ( |
23 |
ssl? ( |
22 |
!libressl? ( dev-libs/openssl:0= ) |
24 |
!libressl? ( dev-libs/openssl:0= ) |
23 |
libressl? ( dev-libs/libressl:0= ) |
25 |
libressl? ( dev-libs/libressl:0= ) |
Lines 36-48
Link Here
|
36 |
src_configure() { |
38 |
src_configure() { |
37 |
local myeconfargs=( |
39 |
local myeconfargs=( |
38 |
--disable-implicit-crypto |
40 |
--disable-implicit-crypto |
39 |
--enable-crypto-gnutls |
|
|
40 |
--enable-crypto-native |
41 |
--enable-crypto-native |
41 |
--with-default-crypto=gnutls |
|
|
42 |
--disable-static |
42 |
--disable-static |
|
|
43 |
$(use_enable gnutls crypto-gnutls) |
43 |
$(use_enable ssl crypto-openssl) |
44 |
$(use_enable ssl crypto-openssl) |
44 |
$(use_enable test test-compare-images) |
45 |
$(use_enable test test-compare-images) |
45 |
) |
46 |
) |
|
|
47 |
if use gnutls ; then |
48 |
myeconfargs+=( --with-default-crypto=gnutls ) |
49 |
elif use ssl ; then |
50 |
myeconfargs+=( --with-default-crypto=openssl ) |
51 |
else |
52 |
myeconfargs+=( --with-default-crypto=native ) |
53 |
fi |
46 |
CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}" |
54 |
CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}" |
47 |
} |
55 |
} |
48 |
|
56 |
|