diff options
author | dmcmahill <dmcmahill> | 2005-12-01 13:06:07 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2005-12-01 13:06:07 +0000 |
commit | c847c8d44b4f1ff193568dd1eef75cef5a07eee0 (patch) | |
tree | 2cc0d5842d3900755c76d7de241da9b3cd3681c0 /lang/f2c | |
parent | c2149efc92c79020c30a6cb8729004b2276ef5fe (diff) | |
download | pkgsrc-c847c8d44b4f1ff193568dd1eef75cef5a07eee0.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')
-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 |