summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-10-24 19:18:27 +0000
committerhubertf <hubertf@pkgsrc.org>2000-10-24 19:18:27 +0000
commit0ca640425791de952fd16466103cc6e03af630cd (patch)
tree3d7f5ab8f375bd81f610de261fca681ef4e52bbe /archivers
parent56a435e398087a76fe31110f1a96c93f1f38c025 (diff)
downloadpkgsrc-0ca640425791de952fd16466103cc6e03af630cd.tar.gz
Add custom do-patch target to prevent "install -s" on scripts.
(does NOT require patch(1) - I guess someone had a bootstrapping problem before, too :-)
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gzip-base/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/archivers/gzip-base/Makefile b/archivers/gzip-base/Makefile
index 819f0f1f0ed..e27d08e8af8 100644
--- a/archivers/gzip-base/Makefile
+++ b/archivers/gzip-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/08/21 21:01:29 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2000/10/24 19:18:27 hubertf Exp $
#
DISTNAME= gzip-1.2.4a
@@ -12,8 +12,6 @@ HOMEPAGE= http://www.gnu.org/software/gzip/gzip.html
EXTRACT_CMD= ${SH} ${DOWNLOADED_DISTFILE}
-NO_PATCH= yes
-
GNU_CONFIGURE= yes
BUILD_TARGET= all manlinks=so
INSTALL_TARGET= install manlinks=so
@@ -26,6 +24,13 @@ IGNORE= "${PKGNAME} is part of your NetBSD distribution"
# file. The easu part is that "install-info" is not called so
# we can simply remove the single installed info file.
+do-patch:
+ f=${WRKSRC}/Makefile.in ; \
+ [ -f $$f.orig ] || ${CP} $$f $$f.orig ; \
+ ${SED} \
+ '/scriptdir/s/INSTALL_PROGRAM/INSTALL_DATA/' \
+ < $$f.orig >$$f
+
post-install:
-${RM} -f ${PREFIX}/info/gzip.info