Line 0
Link Here
|
|
|
1 |
diff -ur src.old/dkimbase.h src/dkimbase.h |
2 |
--- src.old/dkimbase.h 2019-04-10 11:01:23.544374386 +1000 |
Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2018 Gentoo Foundation |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=6 |
5 |
inherit autotools toolchain-funcs vcs-clean |
6 |
|
7 |
DESCRIPTION="DomainKeys Identified Mail library from Alt-N Inc" |
8 |
HOMEPAGE="http://libdkim.sourceforge.net" |
9 |
SRC_URI="mirror://sourceforge/${PN}/${P}.zip" |
10 |
|
11 |
LICENSE="Apache-2.0 yahoo-patent-license-1.2" |
12 |
SLOT="0" |
13 |
KEYWORDS="~amd64 ~x86" |
14 |
IUSE="libressl static-libs" |
15 |
|
16 |
RDEPEND=" |
17 |
!libressl? ( dev-libs/openssl:0= ) |
18 |
libressl? ( dev-libs/libressl:0= ) |
19 |
!mail-filter/libdkim-exim |
20 |
" |
21 |
DEPEND="${RDEPEND} |
22 |
app-arch/unzip |
23 |
" |
24 |
|
25 |
S="${WORKDIR}/${PN}/src" |
26 |
|
27 |
src_prepare() { |
28 |
default |
29 |
|
30 |
ecvs_clean |
31 |
cp "${FILESDIR}"/debianize/* "${S}" || die |
32 |
eapply "${FILESDIR}"/patches/*.patch |
33 |
eapply "${FILESDIR}"/libdkim-extra-options-r1.patch |
34 |
eapply "${FILESDIR}"/${P}-gcc6.patch |
35 |
eapply "${FILESDIR}"/libdkim-openssl-1.1.patch |
36 |
|
37 |
# Bug 476772 |
38 |
if ! use static-libs; then |
39 |
sed -i \ |
40 |
-e '/^TARGETS/s/libdkim.a//' \ |
41 |
-e '/install -m 644 libdkim.a/d' \ |
42 |
Makefile.in || die 'sed on Makefile.in failed' |
43 |
fi |
44 |
|
45 |
# Bug 476770 |
46 |
tc-export AR |
47 |
|
48 |
eautoreconf |
49 |
} |
50 |
|
51 |
src_install() { |
52 |
default |
53 |
dodoc ../README |
54 |
} |