Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/eps/, net-mail/eps/files/
Date: Mon, 28 Dec 2020 15:17:50
Message-Id: 1609168627.6796db127fbf907abf5cf22f7a14954811cd3926.soap@gentoo
1 commit: 6796db127fbf907abf5cf22f7a14954811cd3926
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Dec 28 15:17:07 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 15:17:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6796db12
7
8 net-mail/eps: Port to EAPI 7
9
10 Closes: https://bugs.gentoo.org/727836
11 Package-Manager: Portage-3.0.9, Repoman-3.0.1
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 net-mail/eps/eps-1.7-r1.ebuild | 8 +++-----
16 net-mail/eps/files/eps-1.7-static-libs.patch | 22 ++++++++++++++++++++++
17 2 files changed, 25 insertions(+), 5 deletions(-)
18
19 diff --git a/net-mail/eps/eps-1.7-r1.ebuild b/net-mail/eps/eps-1.7-r1.ebuild
20 index 92434d568c0..40d368deccd 100644
21 --- a/net-mail/eps/eps-1.7-r1.ebuild
22 +++ b/net-mail/eps/eps-1.7-r1.ebuild
23 @@ -1,7 +1,7 @@
24 -# Copyright 1999-2017 Gentoo Foundation
25 +# Copyright 1999-2020 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=6
29 +EAPI=7
30
31 inherit toolchain-funcs
32
33 @@ -12,10 +12,8 @@ SRC_URI="http://www.inter7.com/eps/${P}.tar.gz"
34 LICENSE="GPL-2"
35 SLOT="0"
36 KEYWORDS="~amd64 ppc x86"
37 -IUSE=""
38
39 -DEPEND="sys-apps/sed"
40 -RDEPEND=""
41 +PATCHES=( "${FILESDIR}"/${P}-static-libs.patch )
42
43 src_prepare() {
44 sed -i -e 's:/usr:$(DESTDIR)$(prefix):g' \
45
46 diff --git a/net-mail/eps/files/eps-1.7-static-libs.patch b/net-mail/eps/files/eps-1.7-static-libs.patch
47 new file mode 100644
48 index 00000000000..06fa8bc8255
49 --- /dev/null
50 +++ b/net-mail/eps/files/eps-1.7-static-libs.patch
51 @@ -0,0 +1,22 @@
52 +--- a/Makefile
53 ++++ b/Makefile
54 +@@ -1,7 +1,7 @@
55 + CC = gcc
56 + AR = ar
57 + STRIP = strip
58 +-LIB = libeps.a libeps.so
59 ++LIB = libeps.so
60 +
61 + AROPTS = -cru
62 + RANLIB = ranlib
63 +@@ -20,10 +20,6 @@ DEFS = -Wall -I.
64 +
65 + all: $(LIB)
66 +
67 +-libeps.a: $(OBJS)
68 +- $(AR) $(AROPTS) libeps.a $(OBJS)
69 +- $(RANLIB) libeps.a
70 +-
71 + libeps.so: $(OBJS)
72 + $(CC) -shared -o libeps.so $(OBJS)
73 +