pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/quake3arena sed(1) always appends a newline to e...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d252f1ed5853
branches: trunk
changeset: 506312:d252f1ed5853
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Jan 14 03:22:51 2006 +0000
description:
sed(1) always appends a newline to every output line, which can cause
misdetection of the gzipped tarball that is appended to the *.run script
when sed strips off the first 266 lines. Use tail instead to avoid
the problem.
diffstat:
games/quake3arena/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r f38dae7d2160 -r d252f1ed5853 games/quake3arena/Makefile
--- a/games/quake3arena/Makefile Sat Jan 14 02:52:42 2006 +0000
+++ b/games/quake3arena/Makefile Sat Jan 14 03:22:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/12/12 14:43:25 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2006/01/14 03:22:51 jlam Exp $
DISTNAME= linuxq3apoint-1.32b.x86
PKGREVISION= 1
@@ -27,9 +27,12 @@
NO_CONFIGURE= yes
CHECK_SHLIBS= NO
-USE_TOOLS+= gtar
+USE_TOOLS+= gtar gunzip tail
-EXTRACT_CMD= ${SED} '1,265d' ${DOWNLOADED_DISTFILE} | ${GTAR} xzf -
+# The distfile is a self-extracting shell script. "266" is a magic
+# number that's taken from the distfile itself.
+#
+EXTRACT_CMD= tail +266 ${DOWNLOADED_DISTFILE} | gunzip | gtar -xf -
.if !make(fetch)
ONLY_FOR_PLATFORM=*-*-i386
Home |
Main Index |
Thread Index |
Old Index