commit:     6796db127fbf907abf5cf22f7a14954811cd3926
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Dec 28 15:17:07 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 15:17:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6796db12

net-mail/eps: Port to EAPI 7

Closes: https://bugs.gentoo.org/727836
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-mail/eps/eps-1.7-r1.ebuild               |  8 +++-----
 net-mail/eps/files/eps-1.7-static-libs.patch | 22 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/net-mail/eps/eps-1.7-r1.ebuild b/net-mail/eps/eps-1.7-r1.ebuild
index 92434d568c0..40d368deccd 100644
--- a/net-mail/eps/eps-1.7-r1.ebuild
+++ b/net-mail/eps/eps-1.7-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit toolchain-funcs
 
@@ -12,10 +12,8 @@ SRC_URI="http://www.inter7.com/eps/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ppc x86"
-IUSE=""
 
-DEPEND="sys-apps/sed"
-RDEPEND=""
+PATCHES=( "${FILESDIR}"/${P}-static-libs.patch )
 
 src_prepare() {
        sed -i -e 's:/usr:$(DESTDIR)$(prefix):g' \

diff --git a/net-mail/eps/files/eps-1.7-static-libs.patch 
b/net-mail/eps/files/eps-1.7-static-libs.patch
new file mode 100644
index 00000000000..06fa8bc8255
--- /dev/null
+++ b/net-mail/eps/files/eps-1.7-static-libs.patch
@@ -0,0 +1,22 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ CC = gcc
+ AR = ar
+ STRIP = strip
+-LIB = libeps.a libeps.so
++LIB = libeps.so
+ 
+ AROPTS = -cru
+ RANLIB = ranlib
+@@ -20,10 +20,6 @@ DEFS = -Wall -I.
+ 
+ all: $(LIB)
+ 
+-libeps.a: $(OBJS)
+-      $(AR) $(AROPTS) libeps.a $(OBJS)
+-      $(RANLIB) libeps.a
+-
+ libeps.so: $(OBJS)
+       $(CC) -shared -o libeps.so $(OBJS)
+ 

Reply via email to