pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/efax Don not use {head,tail} -n since it is not ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ce46363cbc7
branches:  trunk
changeset: 480072:2ce46363cbc7
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Aug 29 16:07:29 2004 +0000

description:
Don not use {head,tail} -n since it is not supported by some
implementations.
patch provided by Georg Schwarz in PR 26789

diffstat:

 comms/efax/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (23 lines):

diff -r bfd4c83f9eb2 -r 2ce46363cbc7 comms/efax/Makefile
--- a/comms/efax/Makefile       Sun Aug 29 15:58:17 2004 +0000
+++ b/comms/efax/Makefile       Sun Aug 29 16:07:29 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/04/11 06:14:32 snj Exp $
+# $NetBSD: Makefile,v 1.13 2004/08/29 16:07:29 recht Exp $
 
 DISTNAME=      efax-0.9
 CATEGORIES=    comms
@@ -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"



Home | Main Index | Thread Index | Old Index