commit: c0ec62f4668cc2e54e30b222cfb391978ab0f116 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> AuthorDate: Mon Oct 1 09:16:47 2018 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Mon Oct 1 09:26:50 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ec62f4
dev-tcltk/expect: Fix installing examples Closes: https://bugs.gentoo.org/667144 Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-tcltk/expect/expect-5.45.4.ebuild | 4 ++++ dev-tcltk/expect/files/expect-5.45.4-examples.patch | 14 ++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/dev-tcltk/expect/expect-5.45.4.ebuild b/dev-tcltk/expect/expect-5.45.4.ebuild index 7f540266356..b6d1a0feefe 100644 --- a/dev-tcltk/expect/expect-5.45.4.ebuild +++ b/dev-tcltk/expect/expect-5.45.4.ebuild @@ -72,6 +72,10 @@ src_install() { if use doc ; then docinto examples + echo dodoc \ + example/README \ + $(printf 'example/%s ' $(expect_make_var _SCRIPTS)) \ + $(printf 'example/%s.man ' $(expect_make_var _SCRIPTS_MANPAGES)) dodoc \ example/README \ $(printf 'example/%s ' $(expect_make_var _SCRIPTS)) \ diff --git a/dev-tcltk/expect/files/expect-5.45.4-examples.patch b/dev-tcltk/expect/files/expect-5.45.4-examples.patch index 10de8821a01..cd631b30a5c 100644 --- a/dev-tcltk/expect/files/expect-5.45.4-examples.patch +++ b/dev-tcltk/expect/files/expect-5.45.4-examples.patch @@ -1,21 +1,23 @@ --- a/Makefile.in 2018-09-26 15:59:09.049279363 +0200 +++ b/Makefile.in 2018-09-26 16:00:00.514427553 +0200 -@@ -32,16 +32,12 @@ +@@ -32,15 +32,17 @@ # SCRIPTS is a target. If this is a problem, just comment out the # SCRIPTS target itself. -SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \ -- passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \ -- tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect \ -- multixterm +SCRIPTS = unbuffer ++_SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \ + passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \ +- tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect \ ++ tknewsbiff mkpasswd cryptdir decryptdir autoexpect \ + multixterm # A couple of the scripts have man pages of their own. # You can delete these too if you don't want'em. -SCRIPTS_MANPAGES = kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd \ -- passmass cryptdir decryptdir autoexpect multixterm +SCRIPTS_MANPAGES = unbuffer ++_SCRIPTS_MANPAGES = kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd \ + passmass cryptdir decryptdir autoexpect multixterm - # allow us to handle null list gracefully, "end_of_list" should not exist
