summaryrefslogtreecommitdiff
path: root/devel/ruby-rake
diff options
context:
space:
mode:
authorsbd <sbd>2012-05-11 10:01:58 +0000
committersbd <sbd>2012-05-11 10:01:58 +0000
commit209d4afc1616f69a2f58a7c3604d7066eff805f2 (patch)
tree4058680df94c202980582d40c322ef66653433d6 /devel/ruby-rake
parent4ec1b762aedd177e37cf8957546b8d35414e0a4b (diff)
downloadpkgsrc-209d4afc1616f69a2f58a7c3604d7066eff805f2.tar.gz
Use gzip in stdout mode so that the output file is created even with the
'unexpected end of file' error.
Diffstat (limited to 'devel/ruby-rake')
-rw-r--r--devel/ruby-rake/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/ruby-rake/Makefile b/devel/ruby-rake/Makefile
index a9c34f62bb8..98cf077bd4f 100644
--- a/devel/ruby-rake/Makefile
+++ b/devel/ruby-rake/Makefile
@@ -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_SPEC= ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
# 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}