1 |
commit: c0ec62f4668cc2e54e30b222cfb391978ab0f116 |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 1 09:16:47 2018 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 09:26:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ec62f4 |
7 |
|
8 |
dev-tcltk/expect: Fix installing examples |
9 |
|
10 |
Closes: https://bugs.gentoo.org/667144 |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
13 |
|
14 |
dev-tcltk/expect/expect-5.45.4.ebuild | 4 ++++ |
15 |
dev-tcltk/expect/files/expect-5.45.4-examples.patch | 14 ++++++++------ |
16 |
2 files changed, 12 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/dev-tcltk/expect/expect-5.45.4.ebuild b/dev-tcltk/expect/expect-5.45.4.ebuild |
19 |
index 7f540266356..b6d1a0feefe 100644 |
20 |
--- a/dev-tcltk/expect/expect-5.45.4.ebuild |
21 |
+++ b/dev-tcltk/expect/expect-5.45.4.ebuild |
22 |
@@ -72,6 +72,10 @@ src_install() { |
23 |
|
24 |
if use doc ; then |
25 |
docinto examples |
26 |
+ echo dodoc \ |
27 |
+ example/README \ |
28 |
+ $(printf 'example/%s ' $(expect_make_var _SCRIPTS)) \ |
29 |
+ $(printf 'example/%s.man ' $(expect_make_var _SCRIPTS_MANPAGES)) |
30 |
dodoc \ |
31 |
example/README \ |
32 |
$(printf 'example/%s ' $(expect_make_var _SCRIPTS)) \ |
33 |
|
34 |
diff --git a/dev-tcltk/expect/files/expect-5.45.4-examples.patch b/dev-tcltk/expect/files/expect-5.45.4-examples.patch |
35 |
index 10de8821a01..cd631b30a5c 100644 |
36 |
--- a/dev-tcltk/expect/files/expect-5.45.4-examples.patch |
37 |
+++ b/dev-tcltk/expect/files/expect-5.45.4-examples.patch |
38 |
@@ -1,21 +1,23 @@ |
39 |
--- a/Makefile.in 2018-09-26 15:59:09.049279363 +0200 |
40 |
+++ b/Makefile.in 2018-09-26 16:00:00.514427553 +0200 |
41 |
-@@ -32,16 +32,12 @@ |
42 |
+@@ -32,15 +32,17 @@ |
43 |
# SCRIPTS is a target. If this is a problem, just comment out the |
44 |
# SCRIPTS target itself. |
45 |
|
46 |
-SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \ |
47 |
-- passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \ |
48 |
-- tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect \ |
49 |
-- multixterm |
50 |
+SCRIPTS = unbuffer |
51 |
++_SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \ |
52 |
+ passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \ |
53 |
+- tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect \ |
54 |
++ tknewsbiff mkpasswd cryptdir decryptdir autoexpect \ |
55 |
+ multixterm |
56 |
|
57 |
# A couple of the scripts have man pages of their own. |
58 |
# You can delete these too if you don't want'em. |
59 |
|
60 |
-SCRIPTS_MANPAGES = kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd \ |
61 |
-- passmass cryptdir decryptdir autoexpect multixterm |
62 |
+SCRIPTS_MANPAGES = unbuffer |
63 |
++_SCRIPTS_MANPAGES = kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd \ |
64 |
+ passmass cryptdir decryptdir autoexpect multixterm |
65 |
|
66 |
|
67 |
- # allow us to handle null list gracefully, "end_of_list" should not exist |