Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pinfo/files/, app-text/pinfo/
Date: Sat, 05 Sep 2020 12:47:35
Message-Id: 1599310049.a8f05682b4b002d085f341aa010c4405b2892c16.jer@gentoo
1 commit: a8f05682b4b002d085f341aa010c4405b2892c16
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 5 12:42:14 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 5 12:47:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f05682
7
8 app-text/pinfo: Old
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 app-text/pinfo/Manifest | 1 -
14 .../files/pinfo-0.6.10-clearfilenameprefix.patch | 10 --
15 app-text/pinfo/files/pinfo-0.6.10-dir-file.patch | 11 ---
16 .../pinfo/files/pinfo-0.6.10-gcc-7-inline.patch | 42 --------
17 .../pinfo/files/pinfo-0.6.10-gettext-0.19.patch | 110 ---------------------
18 .../pinfo/files/pinfo-0.6.10-info-suffix.patch | 28 ------
19 .../pinfo/files/pinfo-0.6.10-libc-basename.patch | 33 -------
20 .../pinfo/files/pinfo-0.6.10-ncurses-check.patch | 14 ---
21 app-text/pinfo/files/pinfo-0.6.10-tinfo.patch | 40 --------
22 app-text/pinfo/files/pinfo-0.6.10-version.patch | 11 ---
23 app-text/pinfo/files/pinfo-0.6.9-as-needed.patch | 22 -----
24 app-text/pinfo/pinfo-0.6.10-r5.ebuild | 55 -----------
25 app-text/pinfo/pinfo-0.6.10-r7.ebuild | 60 -----------
26 13 files changed, 437 deletions(-)
27
28 diff --git a/app-text/pinfo/Manifest b/app-text/pinfo/Manifest
29 index f6fcb600816..5d4d910667e 100644
30 --- a/app-text/pinfo/Manifest
31 +++ b/app-text/pinfo/Manifest
32 @@ -1,2 +1 @@
33 -DIST pinfo-0.6.10.tar.bz2 133059 BLAKE2B aaac23583510f42ac8a0c71a380f2bc76c4db6d78518bb4d5399c100bf0aec291c869576b18313e00f8572610cb967c3acb5f8d643c48f1295fd2efa8e16e3e6 SHA512 d3aeb93a668b939a2be7dd397ef5c918a8d108a1a7613ce39d4ef2faafbd549582a35d95c74c1dc74f4c86c9f2bf09b7bca7b5006c5a79302403dd906e8d376e
34 DIST pinfo-0.6.13.tar.gz 157103 BLAKE2B 18af4a5ae1bbd2abccb174ce1a3a16e4d17207a10015042723c58f80695c2580ca0c1c60f4f6f4f08e67eb01316fe48cd848a887e65159a6cd4463eca14bdecd SHA512 739e24821a363a087fb9df5651694f051286d4a15c3e51f2421a2aa60b1efe1da558b959ba22a0094e22854534ea5875498156e8ea2e198e31001aecab1a18df
35
36 diff --git a/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch b/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch
37 deleted file mode 100644
38 index 0835d166932..00000000000
39 --- a/app-text/pinfo/files/pinfo-0.6.10-clearfilenameprefix.patch
40 +++ /dev/null
41 @@ -1,10 +0,0 @@
42 ---- a/src/filehandling_functions.c
43 -+++ b/src/filehandling_functions.c
44 -@@ -758,6 +758,7 @@
45 - tmpfilename = tmpfilename2; /* later we will refere only to tmp2 */
46 - }
47 -
48 -+ clearfilenameprefix();
49 - for (i = -1; i < infopathcount; i++) /* go through all paths */
50 - {
51 - if (i == -1)
52
53 diff --git a/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch b/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch
54 deleted file mode 100644
55 index 7a282f354ba..00000000000
56 --- a/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch
57 +++ /dev/null
58 @@ -1,11 +0,0 @@
59 ---- a/src/filehandling_functions.c
60 -+++ b/src/filehandling_functions.c
61 -@@ -742,7 +742,7 @@
62 - int i, j;
63 - char *tmpfilename;
64 -
65 -- if (strncmp(filename, "dir", 3) == 0)
66 -+ if (strncmp(filename, "dir", 3) == 0 && !isalnum(filename[3]))
67 - {
68 - xfree(buf);
69 - return opendirfile(number);
70
71 diff --git a/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch b/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
72 deleted file mode 100644
73 index d73ad947c7d..00000000000
74 --- a/app-text/pinfo/files/pinfo-0.6.10-gcc-7-inline.patch
75 +++ /dev/null
76 @@ -1,42 +0,0 @@
77 ---- a/src/initializelinks.c
78 -+++ b/src/initializelinks.c
79 -@@ -75,7 +75,7 @@
80 - * checks if an item belongs to tag table. returns 1 on success and 0 on
81 - * failure. It should be optimised...
82 - */
83 --inline int
84 -+int
85 - exists_in_tag_table(char *item)
86 - {
87 - if (gettagtablepos(item) != -1)
88 ---- a/src/filehandling_functions.c
89 -+++ b/src/filehandling_functions.c
90 -@@ -554,7 +554,7 @@
91 - return 1;
92 - }
93 -
94 --inline void
95 -+void
96 - buildcommand(char *dest, char *command, char *filename, const char *tmpfilename)
97 - {
98 - strcpy(dest, command);
99 -@@ -564,7 +564,7 @@
100 - strcat(dest, tmpfilename);
101 - }
102 -
103 --inline void
104 -+void
105 - builddircommand(char *dest, char *command, char *filename, const char *tmpfilename)
106 - {
107 - strcpy(dest, command);
108 ---- a/src/utils.c
109 -+++ b/src/utils.c
110 -@@ -193,7 +193,7 @@
111 - return value;
112 - }
113 -
114 --inline void
115 -+void
116 - initlocale()
117 - {
118 - #ifdef ___DEBUG___
119
120 diff --git a/app-text/pinfo/files/pinfo-0.6.10-gettext-0.19.patch b/app-text/pinfo/files/pinfo-0.6.10-gettext-0.19.patch
121 deleted file mode 100644
122 index 6679e51acb2..00000000000
123 --- a/app-text/pinfo/files/pinfo-0.6.10-gettext-0.19.patch
124 +++ /dev/null
125 @@ -1,110 +0,0 @@
126 ---- a/po/cs.po
127 -+++ b/po/cs.po
128 -@@ -9,6 +9,7 @@
129 - "PO-Revision-Date: 2005-10-11 16:59+0200\n"
130 - "Last-Translator: Katarina Machalkova <bubli@×××××.org>\n"
131 - "Language-Team: Czech <debian-l10n-czech@××××××××××××.org>\n"
132 -+"Language: cs\n"
133 - "MIME-Version: 1.0\n"
134 - "Content-Type: text/plain; charset=ISO-8859-2\n"
135 - "Content-Transfer-Encoding: 8bit\n"
136 ---- a/po/de.po
137 -+++ b/po/de.po
138 -@@ -10,6 +10,7 @@
139 - "PO-Revision-Date: 1999-04-21 01:50+0200\n"
140 - "Last-Translator: René van Bevern <rvb@×××××××××.de>\n"
141 - "Language-Team: German <de@××.org>\n"
142 -+"Language: de\n"
143 - "MIME-Version: 1.0\n"
144 - "Content-Type: text/plain; charset=ISO-8859-1\n"
145 - "Content-Transfer-Encoding: 8bit\n"
146 ---- a/po/eu.po
147 -+++ b/po/eu.po
148 -@@ -12,6 +12,7 @@
149 - "PO-Revision-Date: 2005-09-28 23:14+0200\n"
150 - "Last-Translator: Piarres Beobide <pi@×××××××.net>\n"
151 - "Language-Team: librezale.org <librezale@×××××××××.org>\n"
152 -+"Language: eu\n"
153 - "MIME-Version: 1.0\n"
154 - "Content-Type: text/plain; charset=UTF-8\n"
155 - "Content-Transfer-Encoding: 8bit\n"
156 ---- a/po/ja.po
157 -+++ b/po/ja.po
158 -@@ -10,6 +10,7 @@
159 - "PO-Revision-Date: 2001-11-21 17:42+0900\n"
160 - "Last-Translator: Masayuki Hatta <mhatta@×××.org>\n"
161 - "Language-Team: Japanese <ja@××.org>\n"
162 -+"Language: ja\n"
163 - "MIME-Version: 1.0\n"
164 - "Content-Type: text/plain; charset=euc-jp\n"
165 - "Content-Transfer-Encoding: 8bit\n"
166 ---- a/po/nl.po
167 -+++ b/po/nl.po
168 -@@ -11,6 +11,7 @@
169 - "PO-Revision-Date: 2005-09-01 21:21+0200\n"
170 - "Last-Translator: Bas Zoetekouw <bas@××××××.org>\n"
171 - "Language-Team: Dutch <nl@××.org>\n"
172 -+"Language: nl\n"
173 - "MIME-Version: 1.0\n"
174 - "Content-Type: text/plain; charset=ISO-8859-15\n"
175 - "Content-Transfer-Encoding: 8bit\n"
176 ---- a/po/pl.po
177 -+++ b/po/pl.po
178 -@@ -10,6 +10,7 @@
179 - "PO-Revision-Date: 2005-09-29 21:59+0200\n"
180 - "Last-Translator: Krzysztof Krzy¿aniak (eloy) <eloy@××××××.org>\n"
181 - "Language-Team:\n"
182 -+"Language: pl\n"
183 - "MIME-Version: 1.0\n"
184 - "Content-Type: text/plain; charset=ISO-8859-2\n"
185 - "Content-Transfer-Encoding: 8bit\n"
186 ---- a/po/pt_BR.po
187 -+++ b/po/pt_BR.po
188 -@@ -13,6 +13,7 @@
189 - "Last-Translator: Felipe Augusto van de Wiel (faw) <felipe@cathedrallabs."
190 - "org>\n"
191 - "Language-Team: l10n portuguese <debian-l10n-portuguese@××××××××××××.org>\n"
192 -+"Language: pt_BR\n"
193 - "MIME-Version: 1.0\n"
194 - "Content-Type: text/plain; charset=utf-8\n"
195 - "Content-Transfer-Encoding: 8bit\n"
196 ---- a/po/ro.po
197 -+++ b/po/ro.po
198 -@@ -11,6 +11,7 @@
199 - "PO-Revision-Date: 2005-09-30 03:42+0300\n"
200 - "Last-Translator: Eddy Petrisor <eddy.petrisor@×××××.com>\n"
201 - "Language-Team: Romanian <debian-l10n-romanian@××××××××××××.org>\n"
202 -+"Language: ro\n"
203 - "MIME-Version: 1.0\n"
204 - "Content-Type: text/plain; charset=UTF-8\n"
205 - "Content-Transfer-Encoding: 8bit\n"
206 ---- a/po/ru.po
207 -+++ b/po/ru.po
208 -@@ -11,6 +11,7 @@
209 - "PO-Revision-Date: 2005-10-01 10:47+0400\n"
210 - "Last-Translator: Yuri Kozlov <kozlov.y@×××××.com>\n"
211 - "Language-Team: Russian <debian-l10n-russian@××××××××××××.org>\n"
212 -+"Language: ru\n"
213 - "MIME-Version: 1.0\n"
214 - "Content-Type: text/plain; charset=UTF-8\n"
215 - "Content-Transfer-Encoding: 8bit\n"
216 ---- a/po/sv.po
217 -+++ b/po/sv.po
218 -@@ -11,6 +11,7 @@
219 - "PO-Revision-Date: 2005-10-06 12:00+0200\n"
220 - "Last-Translator: Daniel Nylander <po@××××××××××××××.se>\n"
221 - "Language-Team: Swedish <sv@××.org>\n"
222 -+"Language: sv\n"
223 - "MIME-Version: 1.0\n"
224 - "Content-Type: text/plain; charset=iso-8859-1\n"
225 - "Content-Transfer-Encoding: 8bit\n"
226 ---- a/po/vi.po
227 -+++ b/po/vi.po
228 -@@ -11,6 +11,7 @@
229 - "PO-Revision-Date: 2005-12-21 15:11+1030\n"
230 - "Last-Translator: Clytie Siddall <clytie@×××××××××××××.au>\n"
231 - "Language-Team: Vietnamese <gnomevi-list@×××××××××××××××××.net>\n"
232 -+"Language: vi\n"
233 - "MIME-Version: 1.0\n"
234 - "Content-Type: text/plain; charset=UTF-8\n"
235 - "Content-Transfer-Encoding: 8bit\n"
236
237 diff --git a/app-text/pinfo/files/pinfo-0.6.10-info-suffix.patch b/app-text/pinfo/files/pinfo-0.6.10-info-suffix.patch
238 deleted file mode 100644
239 index 45be53cd1bf..00000000000
240 --- a/app-text/pinfo/files/pinfo-0.6.10-info-suffix.patch
241 +++ /dev/null
242 @@ -1,28 +0,0 @@
243 ---- a/src/filehandling_functions.c
244 -+++ b/src/filehandling_functions.c
245 -@@ -96,11 +96,14 @@ matchfile(char **buf, char *name)
246 - {
247 - /* use strcat rather than strdup, because xmalloc handles all
248 - * malloc errors */
249 -- char *thisfile = xmalloc(strlen(dp->d_name)+1);
250 -+ int len = strlen(dp->d_name)+1;
251 -+ char *thisfile = xmalloc(len * 2);
252 -+ char *thisfile_info = thisfile + len;
253 - strcat(thisfile, dp->d_name);
254 -
255 - /* strip suffixes (so "gcc.info.gz" -> "gcc") */
256 - strip_compression_suffix(thisfile);
257 -+ strcat(thisfile_info, thisfile);
258 - strip_info_suffix(thisfile);
259 -
260 - /* compare this file with the file we're looking for */
261 -@@ -109,8 +112,7 @@ matchfile(char **buf, char *name)
262 - /* we found a match! */
263 - matched++;
264 - /* put it in the buffer */
265 -- strncat(Buf, thisfile, 1023-strlen(Buf));
266 -- strncat(Buf, ".info", 1023-strlen(Buf));
267 -+ strncat(Buf, thisfile_info, 1023-strlen(Buf));
268 -
269 - /* clean up, and exit the loop */
270 - xfree(thisfile);
271
272 diff --git a/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch b/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch
273 deleted file mode 100644
274 index 6e9d4954792..00000000000
275 --- a/app-text/pinfo/files/pinfo-0.6.10-libc-basename.patch
276 +++ /dev/null
277 @@ -1,33 +0,0 @@
278 -do not redefine the basename that the C library provides
279 -
280 ---- a/src/filehandling_functions.c
281 -+++ b/src/filehandling_functions.c
282 -@@ -31,7 +31,6 @@ typedef struct
283 - }
284 - Suffixes;
285 -
286 --char * basename(char *filename);
287 -
288 -
289 - /******************************************************************************
290 -@@ -713,20 +712,6 @@ opendirfile(int number)
291 - return NULL;
292 - }
293 -
294 --char *
295 --basename(char *filename)
296 --{
297 -- int len = strlen(filename);
298 -- char *a = filename + len;
299 -- while (a > filename)
300 -- {
301 -- a--;
302 -- if (*a == '/')
303 -- return a + 1;
304 -- }
305 -- return filename; /* when it was a basename */
306 --}
307 --
308 - /*
309 - * Note: openinfo is a function for reading info files, and putting
310 - * uncompressed content into a temporary filename. For a flexibility, there
311
312 diff --git a/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch b/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
313 deleted file mode 100644
314 index a5f14c593f4..00000000000
315 --- a/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
316 +++ /dev/null
317 @@ -1,14 +0,0 @@
318 -curses_wchar is set to true/false, so trying to assign it to the compiler
319 -flags variable makes no sense. it's already been set up the right value
320 -at this point, so delete the assignment.
321 -
322 ---- a/macros/curses.m4
323 -+++ b/macros/curses.m4
324 -@@ -130,7 +130,6 @@ AC_DEFUN([AC_CHECK_CURSES],[
325 - else
326 - AC_DEFINE(CURSES_WCHAR)
327 - CURSES_WCHAR=true
328 -- CURSES_FLAGS=$curses_wchar
329 - AC_SUBST(CURSES_FLAGS)
330 - fi
331 -
332
333 diff --git a/app-text/pinfo/files/pinfo-0.6.10-tinfo.patch b/app-text/pinfo/files/pinfo-0.6.10-tinfo.patch
334 deleted file mode 100644
335 index bbb6ecfe421..00000000000
336 --- a/app-text/pinfo/files/pinfo-0.6.10-tinfo.patch
337 +++ /dev/null
338 @@ -1,40 +0,0 @@
339 ---- a/configure.ac
340 -+++ b/configure.ac
341 -@@ -118,7 +118,24 @@
342 -
343 -
344 - # curses
345 -+PKG_CHECK_MODULES(ncursesw,ncursesw,[
346 -+ curses_includes="$ncursesw_CFLAGS"
347 -+ curses_libs="$ncursesw_LIBS"
348 -+ curses_h=ncurses.h
349 -+ stop_searching=true
350 -+ found_curses_h=true
351 -+ USE_CURSES=true],[
352 -+ PKG_CHECK_MODULES(ncurses,ncurses,[
353 -+ curses_includes="$ncurses_CFLAGS"
354 -+ curses_libs="$ncurses_LIBS"
355 -+ curses_h=ncurses.h
356 -+ stop_searching=true
357 -+ found_curses_h=true
358 -+ USE_CURSES=true],
359 -+ [])])
360 -+
361 - AC_CHECK_CURSES
362 -+
363 - if ! test "x$USE_CURSES" = "xtrue"; then
364 - AC_MSG_ERROR([Curses not found. You need curses to compile pinfo])
365 - fi
366 ---- a/macros/curses.m4
367 -+++ b/macros/curses.m4
368 -@@ -175,8 +175,8 @@
369 - AC_DEFUN([AC_SEARCH_CURSES_H], [
370 - AC_MSG_CHECKING([location of curses.h file])
371 -
372 -- stop_searching=false
373 -- found_curses_h=false
374 -+# stop_searching=false
375 -+# found_curses_h=false
376 -
377 - dnl if a particular location was specified
378 - if test "x$curses_location" != "xfalse"
379
380 diff --git a/app-text/pinfo/files/pinfo-0.6.10-version.patch b/app-text/pinfo/files/pinfo-0.6.10-version.patch
381 deleted file mode 100644
382 index 8038fe0879e..00000000000
383 --- a/app-text/pinfo/files/pinfo-0.6.10-version.patch
384 +++ /dev/null
385 @@ -1,11 +0,0 @@
386 ---- a/doc/pinfo.texi 2006-03-16 16:40:41.000000000 +0100
387 -+++ b/doc/pinfo.texi 2010-06-18 16:20:24.000000000 +0200
388 -@@ -5,7 +5,7 @@
389 - @c %**end of header
390 -
391 - @set EDITION 0.2.1
392 --@set VERSION 0.6.4
393 -+@set VERSION 0.6.10
394 - @set DATE 1 Dec 2001
395 - @set DATEMAN 21 Mar 1999
396 -
397
398 diff --git a/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch b/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch
399 deleted file mode 100644
400 index 85a80e6f260..00000000000
401 --- a/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch
402 +++ /dev/null
403 @@ -1,22 +0,0 @@
404 ---- a/macros/curses.m4
405 -+++ b/macros/curses.m4
406 -@@ -257,8 +257,8 @@
407 - dnl save CFLAGS and LDFLAGS and set new ones
408 - CFLAGS_OLD=$CFLAGS
409 - CFLAGS="$CFLAGS $curses_includes"
410 -- LDFLAGS_OLD=$LDFLAGS
411 -- LDFLAGS="$LDFLAGS $curses_libs"
412 -+ LIBS_OLD=$LIBS
413 -+ LIBS="$LIBS $curses_libs"
414 -
415 - dnl do the compile test
416 - AC_MSG_CHECKING([if curses is usable])
417 -@@ -288,7 +288,7 @@
418 -
419 - dnl restore variables
420 - CFLAGS=$CFLAGS_OLD
421 -- LDFLAGS=$LDFLAGS_OLD
422 -+ LIBS=$LIBS_OLD
423 -
424 - ])
425 -
426
427 diff --git a/app-text/pinfo/pinfo-0.6.10-r5.ebuild b/app-text/pinfo/pinfo-0.6.10-r5.ebuild
428 deleted file mode 100644
429 index 54b487de0d9..00000000000
430 --- a/app-text/pinfo/pinfo-0.6.10-r5.ebuild
431 +++ /dev/null
432 @@ -1,55 +0,0 @@
433 -# Copyright 1999-2020 Gentoo Authors
434 -# Distributed under the terms of the GNU General Public License v2
435 -
436 -EAPI=5
437 -
438 -inherit autotools eutils flag-o-matic
439 -
440 -DESCRIPTION="Hypertext info and man viewer based on (n)curses"
441 -HOMEPAGE="http://pinfo.alioth.debian.org/"
442 -SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
443 -
444 -LICENSE="GPL-2"
445 -SLOT="0"
446 -KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
447 -IUSE="nls readline"
448 -
449 -RDEPEND="sys-libs/ncurses:0=
450 - sys-libs/readline:0=
451 - nls? ( virtual/libintl )
452 -"
453 -
454 -DEPEND="
455 - ${RDEPEND}
456 - sys-devel/bison
457 - virtual/pkgconfig
458 - nls? ( sys-devel/gettext )
459 -"
460 -
461 -src_prepare() {
462 - epatch \
463 - "${FILESDIR}"/${PN}-0.6.9-as-needed.patch \
464 - "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch \
465 - "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch \
466 - "${FILESDIR}"/${PN}-0.6.10-version.patch \
467 - "${FILESDIR}"/${PN}-0.6.10-info-suffix.patch \
468 - "${FILESDIR}"/${PN}-0.6.10-dir-file.patch \
469 - "${FILESDIR}"/${PN}-0.6.10-tinfo.patch \
470 - "${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch \
471 - "${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch \
472 - "${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
473 -
474 - eautoreconf
475 -
476 - append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
477 -}
478 -
479 -src_configure() {
480 - econf \
481 - $(use_with readline) \
482 - $(use_enable nls)
483 -}
484 -
485 -src_install() {
486 - emake DESTDIR="${D}" sysconfdir=/etc install
487 -}
488
489 diff --git a/app-text/pinfo/pinfo-0.6.10-r7.ebuild b/app-text/pinfo/pinfo-0.6.10-r7.ebuild
490 deleted file mode 100644
491 index 43f39813243..00000000000
492 --- a/app-text/pinfo/pinfo-0.6.10-r7.ebuild
493 +++ /dev/null
494 @@ -1,60 +0,0 @@
495 -# Copyright 1999-2019 Gentoo Authors
496 -# Distributed under the terms of the GNU General Public License v2
497 -
498 -EAPI=7
499 -inherit autotools flag-o-matic
500 -
501 -DESCRIPTION="Hypertext info and man viewer based on (n)curses"
502 -HOMEPAGE="http://pinfo.alioth.debian.org/"
503 -SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
504 -
505 -LICENSE="GPL-2"
506 -SLOT="0"
507 -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
508 -IUSE="nls readline"
509 -
510 -RDEPEND="
511 - sys-libs/ncurses:0=
512 - sys-libs/readline:0=
513 - nls? ( virtual/libintl )
514 -"
515 -
516 -DEPEND="
517 - ${RDEPEND}
518 - sys-apps/texinfo
519 - sys-devel/bison
520 - virtual/pkgconfig
521 - nls? ( sys-devel/gettext )
522 -"
523 -PATCHES=(
524 - "${FILESDIR}"/${PN}-0.6.9-as-needed.patch
525 - "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
526 - "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
527 - "${FILESDIR}"/${PN}-0.6.10-version.patch
528 - "${FILESDIR}"/${PN}-0.6.10-info-suffix.patch
529 - "${FILESDIR}"/${PN}-0.6.10-dir-file.patch
530 - "${FILESDIR}"/${PN}-0.6.10-tinfo.patch
531 - "${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch
532 - "${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch
533 - "${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
534 - "${FILESDIR}"/${PN}-0.6.10-clearfilenameprefix.patch
535 - "${FILESDIR}"/${PN}-0.6.10-gcc-7-inline.patch
536 -)
537 -
538 -src_prepare() {
539 - default
540 -
541 - eautoreconf
542 -
543 - append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
544 -}
545 -
546 -src_configure() {
547 - econf \
548 - $(use_with readline) \
549 - $(use_enable nls)
550 -}
551 -
552 -src_install() {
553 - emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install
554 -}