1 |
commit: 3d5103d43025604f8202693e24ad3c94295886ef |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 2 15:45:10 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 2 16:15:01 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5103d4 |
7 |
|
8 |
sys-apps/bar: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/bar/Manifest | 2 +- |
13 |
sys-apps/bar/bar-1.11.1.ebuild | 27 +++++++++++++-------------- |
14 |
2 files changed, 14 insertions(+), 15 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/bar/Manifest b/sys-apps/bar/Manifest |
17 |
index 967642185f7..edf1c0e40d4 100644 |
18 |
--- a/sys-apps/bar/Manifest |
19 |
+++ b/sys-apps/bar/Manifest |
20 |
@@ -1 +1 @@ |
21 |
-DIST bar_1.11.1.tar.gz 187144 SHA256 fa0f5ec5c8400316c2f4debdc6cdcb80e186e668c2e4471df4fec7bfcd626503 SHA512 18a0cf1946155252fc84bce64a1789a2a497c8a870a8494e4b2caecde567121dc6404855c021900358659702a33f8c4f749e9cd0bb1eb761cd650e2c56347035 WHIRLPOOL b5e144841d92af9f23cc66ba81ad921a81729d58189ef8e82694b124e9f77fb36dc2f8f379a957c699b09ed405b5cf9891adb50f89a62e1ce2477ce48fe3ae5c |
22 |
+DIST bar_1.11.1.tar.gz 187144 BLAKE2B 9181ade20a9450bdc7c4ae21bb79fea1d8666ebb78c1ae6403bbc1ad46ec968efb3795da3d5cd2e87aa02d28f33105abb3cf629e04051b84e763ddaea9c9ee18 SHA512 18a0cf1946155252fc84bce64a1789a2a497c8a870a8494e4b2caecde567121dc6404855c021900358659702a33f8c4f749e9cd0bb1eb761cd650e2c56347035 |
23 |
|
24 |
diff --git a/sys-apps/bar/bar-1.11.1.ebuild b/sys-apps/bar/bar-1.11.1.ebuild |
25 |
index ff678910027..0d1aadd2a03 100644 |
26 |
--- a/sys-apps/bar/bar-1.11.1.ebuild |
27 |
+++ b/sys-apps/bar/bar-1.11.1.ebuild |
28 |
@@ -1,7 +1,7 @@ |
29 |
# Copyright 1999-2017 Gentoo Foundation |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
-EAPI=4 |
33 |
+EAPI=6 |
34 |
|
35 |
inherit autotools |
36 |
|
37 |
@@ -18,31 +18,30 @@ DEPEND="doc? ( >=app-doc/doxygen-1.3.5 )" |
38 |
RDEPEND="" |
39 |
|
40 |
src_prepare() { |
41 |
- sed -e '/^LDFLAGS/d' \ |
42 |
- -e '/cd $(WEB_DIR) && $(MAKE)/d' -i Makefile.am || die |
43 |
+ default |
44 |
+ sed '/cd $(WEB_DIR) && $(MAKE)/d' -i Makefile.am || die |
45 |
eautomake |
46 |
} |
47 |
|
48 |
src_configure() { |
49 |
- local myconf |
50 |
- |
51 |
- # Fix wrt #113392 |
52 |
- use sparc && myconf="${myconf} --disable-use-memalign" |
53 |
- econf ${myconf} |
54 |
+ # Fix bug 113392 |
55 |
+ econf $(use_enable !sparc use-memalign) |
56 |
} |
57 |
|
58 |
src_compile() { |
59 |
emake CFLAGS="${CFLAGS}" |
60 |
+ |
61 |
if use doc; then |
62 |
- mkdir -p ../www/doxygen/${PV} |
63 |
+ mkdir -p ../www/doxygen/${PV} || die |
64 |
emake update-www |
65 |
+ HTML_DOCS=( ../www/doxygen/${PV}/html/. ) |
66 |
+ |
67 |
+ # remove doxygen working files |
68 |
+ find ../www/doxygen/${PV}/html \( -iname '*.map' -o -iname '*.md5' \) -delete || die |
69 |
fi |
70 |
} |
71 |
|
72 |
src_install() { |
73 |
- emake DESTDIR="${D}" install |
74 |
- dodoc AUTHORS TODO TROUBLESHOOTING debian/changelog |
75 |
- if use doc ; then |
76 |
- dohtml -r ../www/doxygen/${PV}/html/* |
77 |
- fi |
78 |
+ default |
79 |
+ dodoc TROUBLESHOOTING debian/changelog |
80 |
} |