diff options
author | reed <reed@pkgsrc.org> | 2004-05-07 21:41:43 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-05-07 21:41:43 +0000 |
commit | 667cdb3bee0b6da88c6d1afefcb27240174e3063 (patch) | |
tree | e6e5c4995f91bc0b823cee1059b68d08445f72cc /archivers/gzip-base/patches | |
parent | 452c1b42afe3a858bfe64a2e606c480b0455349c (diff) | |
download | pkgsrc-667cdb3bee0b6da88c6d1afefcb27240174e3063.tar.gz |
This previously didn't patch to stop installing the gzip.info file
because it was just removed after.
But now use a patch to disable the install and disable the
creation of the ${PREFIX}/info directory.
(${PREFIX}/info is wrong; pkgsrc uses ${PREFIX}/${INFO_DIR}.)
(The patch also includes the BSD_INSTALL_SCRIPT change
which was previously done in the Makefile using sed.)
Diffstat (limited to 'archivers/gzip-base/patches')
-rw-r--r-- | archivers/gzip-base/patches/patch-aa | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/archivers/gzip-base/patches/patch-aa b/archivers/gzip-base/patches/patch-aa new file mode 100644 index 00000000000..51eb2a8ed6f --- /dev/null +++ b/archivers/gzip-base/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1 2004/05/07 21:41:43 reed Exp $ + +--- Makefile.in.orig Fri May 7 14:26:18 2004 ++++ Makefile.in +@@ -104,7 +104,7 @@ mandir = $(prefix)/man/man$(manext) + # Use manlinks=so to use the .so method instead of hard links + manlinks = ln + +-alldirs = $(bindir) $(scriptdir) $(datadir) $(libdir) $(infodir) $(mandir) ++alldirs = $(bindir) $(scriptdir) $(datadir) $(libdir) $(mandir) + + #### End of system configuration section. #### + +@@ -206,7 +206,7 @@ install: installdirs installbin installm + installbin: all + $(INSTALL_PROGRAM) gzip$X $(bindir)/gzip$X + for f in $(SCRIPTS); do \ +- $(INSTALL_PROGRAM) $${f} $(scriptdir)/$${f}; done ++ $(BSD_INSTALL_SCRIPT) $${f} $(scriptdir)/$${f}; done + rm -f $(scriptdir)/$(G)zcmp; \ + ln $(scriptdir)/$(G)zdiff $(scriptdir)/$(G)zcmp + for f in gunzip$X ungzip$X $(ZCAT)$X ; do \ +@@ -237,8 +237,6 @@ installman: gzip.info + ln $(G)zdiff.$(manext) $(G)zcmp.$(manext);\ + ln gzip.$(manext) gunzip.$(manext);\ + fi +- -cd $(srcdir); for f in gzip.info* ; do $(INSTALL_DATA) $${f} \ +- $(infodir)/$${f}; done + + uninstall: force + -cd $(bindir); rm -f gzip$X gunzip$X $(ZCAT)$X |