Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2007 23:50:06 GMT
From:      "Pedro F. Giffuni" <giffunip@tutopia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/114227: update lang/nawk to version 20070501
Message-ID:  <200707022350.l62No6H4011479@www.freebsd.org>
Resent-Message-ID: <200707030000.l6300DWo062628@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114227
>Category:       ports
>Synopsis:       update lang/nawk to version 20070501
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 03 00:00:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.2-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Sat Jun 30 14:14:28 COT 2007     root@kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP  amd64
>Description:
update lang/nawk to version 20070501, following the update of FreeBSD's base awk.

I also changed the DISTSUBDIR to something more in line with other ports.

>How-To-Repeat:

I would've thought I saw a patch to fix old scripts but I couldn't find it here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/one-true-awk/

So I imagined it or it was pulled out for a good reason.
>Fix:
patch:
diff -ruN nawk.orig/Makefile nawk/Makefile
--- nawk.orig/Makefile	Fri Jun 29 18:38:41 2007
+++ nawk/Makefile	Mon Jul  2 18:29:45 2007
@@ -7,11 +7,11 @@
 #
 
 PORTNAME=	nawk
-PORTVERSION=	20050424
+PORTVERSION=	20070501
 CATEGORIES=	lang
 MASTER_SITES=	http://cm.bell-labs.com/cm/cs/who/bwk/
 DISTNAME=	awk
-DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Brian Kernighan's pattern scanning and processing language
diff -ruN nawk.orig/distinfo nawk/distinfo
--- nawk.orig/distinfo	Fri Jun 29 18:38:41 2007
+++ nawk/distinfo	Mon Jul  2 18:30:02 2007
@@ -1,3 +1,3 @@
-MD5 (nawk-20050424/awk.tar.gz) = 6a8c9efb19d8f1d641148429202ac1de
-SHA256 (nawk-20050424/awk.tar.gz) = 34fdda15708b7cfba47544ffddf9a79ed6291f167f3d1e2e8d7a64047f2eda71
-SIZE (nawk-20050424/awk.tar.gz) = 114935
+MD5 (nawk/awk.tar.gz) = b63342525afee1cc5e3a4211cbf87fae
+SHA256 (nawk/awk.tar.gz) = 3827c90fa4573caf82ce6c084020230c9520ef4f91ac06f86c4a0c068400c061
+SIZE (nawk/awk.tar.gz) = 117479
diff -ruN nawk.orig/files/patch-makefile nawk/files/patch-makefile
--- nawk.orig/files/patch-makefile	Fri Jun 29 18:38:41 2007
+++ nawk/files/patch-makefile	Mon Jul  2 18:33:35 2007
@@ -1,19 +1,26 @@
---- makefile.orig	Mon Mar 28 15:40:31 2005
-+++ makefile	Thu Dec  1 11:28:45 2005
-@@ -22,16 +22,6 @@
+--- makefile.orig	Mon Apr 30 08:10:40 2007
++++ makefile	Mon Jul  2 18:32:10 2007
+@@ -22,20 +22,11 @@
  # THIS SOFTWARE.
  # ****************************************************************/
  
 -CFLAGS = -g
 -CFLAGS = -O2
 -CFLAGS =
--
++CFLAGS ?= -O2
+ 
 -CC = gcc -Wall -g -Wwrite-strings
--CC = gcc -fprofile-arcs -ftest-coverage
--		# followed by gcov onefile.c; cat onefile.c.gcov
+-CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
 -CC = gcc -Wall -g
 -CC = cc
+-CC = gcc -O4
+-CC = gcc -Wall -g
++CC ?= cc
+ 
 -
- YACC = bison -y
- YACC = yacc
+-YACC = bison -y
+-YACC = yacc
++YACC ?= yacc
  YFLAGS = -d
+ 
+ OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707022350.l62No6H4011479>