aboutsummaryrefslogtreecommitdiff
path: root/lang/nawk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/nawk')
-rw-r--r--lang/nawk/Makefile3
-rw-r--r--lang/nawk/distinfo6
-rw-r--r--lang/nawk/files/patch-makefile14
3 files changed, 11 insertions, 12 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
index bd3efb58b54a..77f8344a203c 100644
--- a/lang/nawk/Makefile
+++ b/lang/nawk/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= nawk
-PORTVERSION= 20071023
-PORTREVISION= 1
+PORTVERSION= 20091126
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 a3292f8fdc7e..bb19d722d19c 100644
--- a/lang/nawk/distinfo
+++ b/lang/nawk/distinfo
@@ -1,3 +1,3 @@
-MD5 (nawk/awk.tar.gz) = 6678ed668b12c5f3051a6e88732c23d8
-SHA256 (nawk/awk.tar.gz) = 6e116bd19dbe76c7d253d77285b68bc1ce4ff08b17812c7c8125af5fd6ff726d
-SIZE (nawk/awk.tar.gz) = 117422
+MD5 (nawk/awk.tar.gz) = ec8545e7c732e4402e963c70ba766a5b
+SHA256 (nawk/awk.tar.gz) = 4dbf070864f8ea626ef2b24b2bca6efc8fb372cf6d96fdcf3926663a6e8d0099
+SIZE (nawk/awk.tar.gz) = 117853
diff --git a/lang/nawk/files/patch-makefile b/lang/nawk/files/patch-makefile
index 7367d31613b5..2d7c6bbfd2d9 100644
--- a/lang/nawk/files/patch-makefile
+++ b/lang/nawk/files/patch-makefile
@@ -1,25 +1,25 @@
---- makefile.orig Mon Apr 30 08:10:40 2007
-+++ makefile Mon Jul 2 18:32:10 2007
-@@ -22,20 +22,11 @@
+--- makefile.orig 2009-02-09 20:20:44.000000000 +0000
++++ makefile 2009-12-31 15:05:35.000000000 +0000
+@@ -22,19 +22,12 @@
# THIS SOFTWARE.
# ****************************************************************/
-CFLAGS = -g
-CFLAGS = -O2
-CFLAGS =
-+CFLAGS ?= -O2
-
+-
-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 -O4
--CC = gcc -Wall -g
++CFLAGS ?= -O2
+
+CC ?= cc
--
-YACC = bison -y
-YACC = yacc
++
+YACC ?= yacc
YFLAGS = -d