dev-tcltk/expect: Fix installing examples
authorTupone Alfredo <tupone@gentoo.org>
Mon, 1 Oct 2018 09:16:47 +0000 (11:16 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Mon, 1 Oct 2018 09:26:50 +0000 (11:26 +0200)
Closes: https://bugs.gentoo.org/667144
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
dev-tcltk/expect/expect-5.45.4.ebuild
dev-tcltk/expect/files/expect-5.45.4-examples.patch

index 7f5402663564c267cb704df31a821a199f8bb3b9..b6d1a0feefe2cc28e50ca658edf244bfad671373 100644 (file)
@@ -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)) \
index 10de8821a01ae6f3a662b4e32866993fbb17c24b..cd631b30a5c146b20c058b42f785bcfc6cd61c99 100644 (file)
@@ -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