diff options
author | hubertf <hubertf> | 2000-10-24 19:18:27 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-10-24 19:18:27 +0000 |
commit | aaca441733691bfa935fba4311895c6d1a10a643 (patch) | |
tree | 3d7f5ab8f375bd81f610de261fca681ef4e52bbe /archivers | |
parent | fa912b07105a26bc5761c4cc25202fb5a67856ac (diff) | |
download | pkgsrc-aaca441733691bfa935fba4311895c6d1a10a643.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/Makefile | 11 |
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 |