aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/nawk/Makefile2
-rw-r--r--lang/nawk/distinfo5
-rw-r--r--lang/nawk/files/patch-makefile13
3 files changed, 9 insertions, 11 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
index 13a0bc75d04b..567538fb2473 100644
--- a/lang/nawk/Makefile
+++ b/lang/nawk/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= nawk
-PORTVERSION= 20100209
+PORTVERSION= 20100523
CATEGORIES= lang
MASTER_SITES= http://www.cs.princeton.edu/~bwk/btl.mirror/
DISTNAME= awk
diff --git a/lang/nawk/distinfo b/lang/nawk/distinfo
index e2813649236b..cbe97cb47d68 100644
--- a/lang/nawk/distinfo
+++ b/lang/nawk/distinfo
@@ -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
diff --git a/lang/nawk/files/patch-makefile b/lang/nawk/files/patch-makefile
index 2d7c6bbfd2d9..a75b9eb94d0a 100644
--- a/lang/nawk/files/patch-makefile
+++ b/lang/nawk/files/patch-makefile
@@ -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