1 |
commit: 30e26b979f8c928eee6210c6a637a15b9a5b0b40 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 1 09:36:39 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 1 09:37:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e26b97 |
7 |
|
8 |
app-text/pinfo: Fix installing /etc/pinforc in prefix |
9 |
|
10 |
Patch by Susan Wilson. Thanks! |
11 |
|
12 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
13 |
Fixes: https://bugs.gentoo.org/676992 |
14 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
15 |
|
16 |
app-text/pinfo/pinfo-0.6.10-r7.ebuild | 60 +++++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 60 insertions(+) |
18 |
|
19 |
diff --git a/app-text/pinfo/pinfo-0.6.10-r7.ebuild b/app-text/pinfo/pinfo-0.6.10-r7.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..dc042896698 |
22 |
--- /dev/null |
23 |
+++ b/app-text/pinfo/pinfo-0.6.10-r7.ebuild |
24 |
@@ -0,0 +1,60 @@ |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+inherit autotools flag-o-matic |
30 |
+ |
31 |
+DESCRIPTION="Hypertext info and man viewer based on (n)curses" |
32 |
+HOMEPAGE="http://pinfo.alioth.debian.org/" |
33 |
+SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
38 |
+IUSE="nls readline" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ sys-libs/ncurses:0= |
42 |
+ sys-libs/readline:0= |
43 |
+ nls? ( virtual/libintl ) |
44 |
+" |
45 |
+ |
46 |
+DEPEND=" |
47 |
+ ${RDEPEND} |
48 |
+ sys-apps/texinfo |
49 |
+ sys-devel/bison |
50 |
+ virtual/pkgconfig |
51 |
+ nls? ( sys-devel/gettext ) |
52 |
+" |
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}"/${PN}-0.6.9-as-needed.patch |
55 |
+ "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch |
56 |
+ "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch |
57 |
+ "${FILESDIR}"/${PN}-0.6.10-version.patch |
58 |
+ "${FILESDIR}"/${PN}-0.6.10-info-suffix.patch |
59 |
+ "${FILESDIR}"/${PN}-0.6.10-dir-file.patch |
60 |
+ "${FILESDIR}"/${PN}-0.6.10-tinfo.patch |
61 |
+ "${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch |
62 |
+ "${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch |
63 |
+ "${FILESDIR}"/${PN}-0.6.10-libc-basename.patch |
64 |
+ "${FILESDIR}"/${PN}-0.6.10-clearfilenameprefix.patch |
65 |
+ "${FILESDIR}"/${PN}-0.6.10-gcc-7-inline.patch |
66 |
+) |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ eautoreconf |
72 |
+ |
73 |
+ append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk() |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ econf \ |
78 |
+ $(use_with readline) \ |
79 |
+ $(use_enable nls) |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install |
84 |
+} |