diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2005-12-01 13:06:07 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2005-12-01 13:06:07 +0000 |
commit | 6b00050abe6a95664ddf14204ab2879e94517386 (patch) | |
tree | 2cc0d5842d3900755c76d7de241da9b3cd3681c0 /lang/f2c/Makefile | |
parent | 0f75425cfeb07d4c766d2913a3f4db263b500dec (diff) | |
download | pkgsrc-6b00050abe6a95664ddf14204ab2879e94517386.tar.gz |
In the post-extract target avoid trying to gunzip a particular
file which triggers a bug in some versions of zlib. This file
was not used anyway.
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r-- | lang/f2c/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile index 947a8ec218c..8e417668d20 100644 --- a/lang/f2c/Makefile +++ b/lang/f2c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2005/07/15 18:27:51 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2005/12/01 13:06:07 dmcmahill Exp $ DISTNAME= f2c-20001205 PKGREVISION= 8 @@ -35,9 +35,17 @@ WRKSRC= ${WRKDIR}/f2c USE_LIBTOOL= yes USE_TOOLS+= gunzip +# work around a problem gunzipping 00lastchange.gz with +# some versions of zlib found on NetBSD and also Gentoo post-extract: @${RM} ${WRKSRC}/index.html - @${GUNZIP_CMD} ${WRKSRC}/*.gz + @for f in ${WRKSRC}/*.gz ; do \ + if test "$$f" = "${WRKSRC}/00lastchange.gz" ; then \ + ${ECHO} "Skipping $$f" ; \ + else \ + ${GUNZIP_CMD} $$f ; \ + fi ; \ + done @cd ${WRKSRC} ; ${SH} libf77 ; ${SH} libi77 @${RM} ${WRKSRC}/src/index.html @${MV} ${WRKSRC}/src/.depend ${WRKSRC}/src/depend.orig |