Lines 13-31
Link Here
|
13 |
LICENSE="BSD" |
13 |
LICENSE="BSD" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="amd64 arm x86" |
15 |
KEYWORDS="amd64 arm x86" |
16 |
IUSE="dbus static-libs" |
16 |
IUSE="dbus polarssl static-libs" |
17 |
|
17 |
|
18 |
DEPEND="dev-libs/openssl |
18 |
DEPEND="polarssl? ( net-libs/polarssl ) |
|
|
19 |
!polarssl? ( dev-libs/openssl ) |
19 |
dbus? ( sys-apps/dbus )" |
20 |
dbus? ( sys-apps/dbus )" |
20 |
RDEPEND="${DEPEND}" |
21 |
RDEPEND="${DEPEND}" |
21 |
|
22 |
|
22 |
src_prepare() { |
23 |
src_prepare() { |
|
|
24 |
epatch "${FILESDIR}/${P}-polarssl13.patch" |
23 |
eautoreconf |
25 |
eautoreconf |
24 |
} |
26 |
} |
25 |
|
27 |
|
26 |
src_configure() { |
28 |
src_configure() { |
27 |
econf \ |
29 |
econf \ |
28 |
$(use_enable dbus) \ |
30 |
$(use_enable dbus) \ |
|
|
31 |
$(use_with polarssl) \ |
29 |
--disable-hardened-checks \ |
32 |
--disable-hardened-checks \ |
30 |
--with-unpriv-user=tlsdate \ |
33 |
--with-unpriv-user=tlsdate \ |
31 |
--with-unpriv-group=tlsdate |
34 |
--with-unpriv-group=tlsdate |