summaryrefslogtreecommitdiff
path: root/archivers/gzip-base
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-10-24 19:18:27 +0000
committerhubertf <hubertf>2000-10-24 19:18:27 +0000
commit492b96910b6e58dee562266767bb0d5b446e138c (patch)
tree3d7f5ab8f375bd81f610de261fca681ef4e52bbe /archivers/gzip-base
parent6b6f54549cdc5547c72f7c04ecabdd711823f0fe (diff)
downloadpkgsrc-492b96910b6e58dee562266767bb0d5b446e138c.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/gzip-base')
-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