1 |
commit: df504bb59870cdff026a034734cf6ea51b75283c |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 21 21:50:48 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 21:50:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df504bb5 |
7 |
|
8 |
app-text/rtf2html: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
app-text/rtf2html/rtf2html-0.2.0-r1.ebuild | 23 +++++------------------ |
14 |
1 file changed, 5 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/app-text/rtf2html/rtf2html-0.2.0-r1.ebuild b/app-text/rtf2html/rtf2html-0.2.0-r1.ebuild |
17 |
index d5f0c353c4c..f48b71d6264 100644 |
18 |
--- a/app-text/rtf2html/rtf2html-0.2.0-r1.ebuild |
19 |
+++ b/app-text/rtf2html/rtf2html-0.2.0-r1.ebuild |
20 |
@@ -1,9 +1,7 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI="4" |
26 |
- |
27 |
-inherit base flag-o-matic |
28 |
+EAPI=7 |
29 |
|
30 |
DESCRIPTION="RTF to HTML converter" |
31 |
HOMEPAGE="http://rtf2html.sourceforge.net/" |
32 |
@@ -12,23 +10,12 @@ SRC_URI="mirror://sourceforge/rtf2html/${P}.tar.bz2" |
33 |
LICENSE="LGPL-2.1" |
34 |
SLOT="0" |
35 |
KEYWORDS="~amd64 ~x86" |
36 |
-IUSE="debug" |
37 |
- |
38 |
-DEPEND="" |
39 |
-RDEPEND="${DEPEND}" |
40 |
|
41 |
-DOCS=( ChangeLog README ) |
42 |
- |
43 |
-PATCHES=( "${FILESDIR}/${P}-gcc43.patch" ) |
44 |
+PATCHES=( "${FILESDIR}"/${P}-gcc43.patch ) |
45 |
|
46 |
src_prepare() { |
47 |
+ default |
48 |
+ |
49 |
# CFLAGS are incorrectly parsed, so handle this here |
50 |
sed -i -e '/CFLAGS=$(echo $CFLAGS/d' configure || die 'sed on configure failed' |
51 |
- use !debug && filter-flags "-g*" |
52 |
- |
53 |
- base_src_prepare |
54 |
-} |
55 |
- |
56 |
-src_configure() { |
57 |
- econf $(use_enable debug) |
58 |
} |