pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/f2c In the post-extract target avoid trying to gu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/19d84b7aa9ff
branches: trunk
changeset: 503847:19d84b7aa9ff
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Thu Dec 01 13:06:07 2005 +0000
description:
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:
lang/f2c/Makefile | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r b46de18d3c9f -r 19d84b7aa9ff lang/f2c/Makefile
--- a/lang/f2c/Makefile Thu Dec 01 11:18:30 2005 +0000
+++ b/lang/f2c/Makefile Thu Dec 01 13:06:07 2005 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index