From c0ec62f4668cc2e54e30b222cfb391978ab0f116 Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Mon, 1 Oct 2018 11:16:47 +0200 Subject: 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 --- 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(-) (limited to 'dev-tcltk') diff --git a/dev-tcltk/expect/expect-5.45.4.ebuild b/dev-tcltk/expect/expect-5.45.4.ebuild index 7f5402663564..b6d1a0feefe2 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 10de8821a01a..cd631b30a5c1 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 -- cgit v1.2.3-65-gdbad