- Update to 20100523

Changes:
- fixed long-standing overflow bug in run.c; many thanks to
  nelson beebe for spotting it and providing the fix.
- fixed bug that didn't parse -vd=1 properly; thanks to santiago
  vila for spotting it.

PR:		ports/152025
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
Approved by:	maintainer (timeout, 18 days)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2010-11-25 12:05:07 +00:00
parent 5dfb36e724
commit 9e6d588496
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265137
3 changed files with 9 additions and 11 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= nawk
PORTVERSION= 20100209
PORTVERSION= 20100523
CATEGORIES= lang
MASTER_SITES= http://www.cs.princeton.edu/~bwk/btl.mirror/
DISTNAME= awk

View File

@ -1,3 +1,2 @@
MD5 (nawk/awk.tar.gz) = 7e6c71ae36ec48ce1d9160f25174bf77
SHA256 (nawk/awk.tar.gz) = d3b9c2df870d5dc48575fe5c8c5004c73e9ebf124710e83c0e6febdc0df104c1
SIZE (nawk/awk.tar.gz) = 123234
SHA256 (nawk/awk.tar.gz) = 0a533b796fc1be8606a2133e87b0f3965686e80f3606da0ae6e85a377a781e2d
SIZE (nawk/awk.tar.gz) = 117839

View File

@ -1,6 +1,6 @@
--- makefile.orig 2009-02-09 20:20:44.000000000 +0000
+++ makefile 2009-12-31 15:05:35.000000000 +0000
@@ -22,19 +22,12 @@
--- makefile.orig 2010-02-16 01:48:30.000000000 +0000
+++ makefile 2010-11-07 15:05:52.000000000 +0000
@@ -22,18 +22,11 @@
# THIS SOFTWARE.
# ****************************************************************/
@ -8,17 +8,16 @@
-CFLAGS = -O2
-CFLAGS =
-
-CC = gcc -Wall -g -Wwrite-strings
-CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
-CC = gcc -Wall -g
-CC = cc
-CC = gcc -Wall -g -Wwrite-strings
-CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
-CC = gcc -O4
+CFLAGS ?= -O2
+CC ?= cc
-YACC = bison -y
-YACC = yacc
+CC ?= cc
+
+YACC ?= yacc
YFLAGS = -d