diff options
author | agc <agc@pkgsrc.org> | 1999-06-01 11:31:50 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-06-01 11:31:50 +0000 |
commit | 0d36b519065ad6f7a21400014f668c19a4e63f1a (patch) | |
tree | 7257ee8a0402a1cbfd21da06b4957a8cdcb3d90b /archivers | |
parent | b29cbcce4474151aae509953cf06a789995b5828 (diff) | |
download | pkgsrc-0d36b519065ad6f7a21400014f668c19a4e63f1a.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gsharutils/patches/patch-ad | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/archivers/gsharutils/patches/patch-ad b/archivers/gsharutils/patches/patch-ad new file mode 100644 index 00000000000..52986601742 --- /dev/null +++ b/archivers/gsharutils/patches/patch-ad @@ -0,0 +1,21 @@ +$NetBSD: patch-ad,v 1.1 1999/06/01 11:31:50 agc Exp $ + +If MAN5PAGES is empty, don't punish dumb shells (Hi, Solaris) + +--- doc/Makefile.in 1999/06/01 11:12:32 1.1 ++++ doc/Makefile.in 1999/06/01 11:20:26 +@@ -109,11 +109,11 @@ + $(man1dir)/`echo $$name | sed '$(transform)'`$(man1ext); \ + fi; \ + done +- test -z "$(MAN5PAGES)" || \ +- for name in $(MAN5PAGES); do \ ++ for name in "" $(MAN5PAGES); do \ ++ if [ "X$$name" = "X" ]; then continue; fi; \ + $(INSTALL_DATA) $(srcdir)/$$name.5 \ + $(man5dir)/`echo $$name | sed '$(transform)'`$(man5ext); \ +- done ++ done + + uninstall-man: + for name in $(MAN1PAGES); do \ |