pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-rake Use gzip in stdout mode so that the ou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8be57296462
branches:  trunk
changeset: 603697:a8be57296462
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Fri May 11 10:01:58 2012 +0000

description:
Use gzip in stdout mode so that the output file is created even with the
'unexpected end of file' error.

diffstat:

 devel/ruby-rake/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a66558d2ed8d -r a8be57296462 devel/ruby-rake/Makefile
--- a/devel/ruby-rake/Makefile  Fri May 11 09:40:34 2012 +0000
+++ b/devel/ruby-rake/Makefile  Fri May 11 10:01:58 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/03/17 13:57:59 taca Exp $
+# $NetBSD: Makefile,v 1.3 2012/05/11 10:01:58 sbd Exp $
 
 DISTNAME=      rake-0.9.2.2
 CATEGORIES=    devel
@@ -38,7 +38,7 @@
 
 # rake.1.gz has one extra byte at EOF.
 pre-configure:
-       cd ${WRKSRC}/doc && (gzip -d rake.1.gz 2>/dev/null || ${TRUE})
+       cd ${WRKSRC}/doc && (gzip -dc rake.1.gz >rake.1 2>/dev/null || ${TRUE})
        cd ${WRKSRC}; ${CHMOD} -x ${FIX_PERM}
        cd ${WRKSRC}/bin && ${MV} rake ${RAKEBIN}
 



Home | Main Index | Thread Index | Old Index