Subject: pkg/26789: pkgsrc/comms/efax/Makefile uses -n in head and tail
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 08/28/2004 16:13:28
>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 28 16:14:00 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: