NetBSD Problem Report #26789
Received: (qmail 11729 invoked by uid 605); 28 Aug 2004 16:13:30 -0000
Message-Id: <20040828161328.23FEE11152@narn.netbsd.org>
Date: Sat, 28 Aug 2004 16:13:28 +0000 (UTC)
From: geos@epost.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: geos@epost.de
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc/comms/efax/Makefile uses -n in head and tail
X-Send-Pr-Version: www-1.0
>Number: 26789
>Category: pkg
>Synopsis: pkgsrc/comms/efax/Makefile uses -n in head and tail
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 28 16:14:00 +0000 2004
>Closed-Date: Sun Aug 29 16:08:07 +0000 2004
>Last-Modified: Sun Aug 29 16:09:00 +0000 2004
>Originator: Georg Schwarz
>Release: current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgsrc/comms/efax/Makefile uses -n in head and tail, which is not supported on some implementations.
>How-To-Repeat:
>Fix:
--- Makefile.orig 2004-08-28 17:46:45.000000000 +0200
+++ Makefile 2004-08-28 17:46:56.000000000 +0200
@@ -30,9 +30,9 @@
# `fax' script so that the user doesn't need to edit the script itself
# to set important variables.
- ${HEAD} -n 5 ${WRKSRC}/fax.tmp > ${WRKSRC}/fax
- ${TAIL} -n 649 ${WRKSRC}/fax.tmp >> ${WRKSRC}/fax
- ${HEAD} -n 404 ${WRKSRC}/fax.tmp > ${WRKSRC}/efax.rc1
- ${TAIL} -n 402 ${WRKSRC}/efax.rc1 > ${WRKSRC}/efax.rc
+ ${HEAD} -5 ${WRKSRC}/fax.tmp > ${WRKSRC}/fax
+ ${TAIL} -649 ${WRKSRC}/fax.tmp >> ${WRKSRC}/fax
+ ${HEAD} -404 ${WRKSRC}/fax.tmp > ${WRKSRC}/efax.rc1
+ ${TAIL} -402 ${WRKSRC}/efax.rc1 > ${WRKSRC}/efax.rc
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: recht
State-Changed-When: Sun Aug 29 16:07:43 UTC 2004
State-Changed-Why:
Patch commited. Thanks for the PR!
From: Marc Recht <recht@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/26789 CVS commit: pkgsrc/comms/efax
Date: Sun, 29 Aug 2004 16:07:29 +0000 (UTC)
Module Name: pkgsrc
Committed By: recht
Date: Sun Aug 29 16:07:29 UTC 2004
Modified Files:
pkgsrc/comms/efax: Makefile
Log Message:
Don not use {head,tail} -n since it is not supported by some
implementations.
patch provided by Georg Schwarz in PR 26789
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 pkgsrc/comms/efax/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.