aboutsummaryrefslogtreecommitdiff
path: root/lang/nawk
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-03-28 21:44:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-03-28 21:44:15 +0000
commit9e279726a1115cc83026628f8d2cd6a8ce96ba80 (patch)
tree38853029064de1ead8013b48f0affc754c4d84d9 /lang/nawk
parente691264974a4074d91536096aab41cdea4b79c64 (diff)
downloadports-9e279726a1115cc83026628f8d2cd6a8ce96ba80.tar.gz
ports-9e279726a1115cc83026628f8d2cd6a8ce96ba80.zip
Notes
Diffstat (limited to 'lang/nawk')
-rw-r--r--lang/nawk/Makefile4
-rw-r--r--lang/nawk/distinfo2
-rw-r--r--lang/nawk/files/patch-aa2
-rw-r--r--lang/nawk/files/patch-ba12
4 files changed, 5 insertions, 15 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
index 11002e8c806c..4b2d9c1f11c1 100644
--- a/lang/nawk/Makefile
+++ b/lang/nawk/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= nawk
-PORTVERSION= 20021213
+PORTVERSION= 20030314
CATEGORIES= lang
MASTER_SITES= http://cm.bell-labs.com/who/bwk/
DISTNAME= awk
@@ -26,3 +26,5 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/nawk.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
+
+CFLAGS+= -DHAS_ISBLANK
diff --git a/lang/nawk/distinfo b/lang/nawk/distinfo
index e377148b4622..e9423fc644b5 100644
--- a/lang/nawk/distinfo
+++ b/lang/nawk/distinfo
@@ -1 +1 @@
-MD5 (awk.tar.gz) = b6eb71ba506bc264144672d02a0d2e85
+MD5 (awk.tar.gz) = a15a10c19d154686572612ba0812cc14
diff --git a/lang/nawk/files/patch-aa b/lang/nawk/files/patch-aa
index 90a6473df217..9667edefc9e6 100644
--- a/lang/nawk/files/patch-aa
+++ b/lang/nawk/files/patch-aa
@@ -17,7 +17,7 @@
-CC = /opt/pure/purify/purify cc
-CC = cc
+CC ?= cc
-+CC := ${CC} -Wall -g -Wwrite-strings
++CC := ${CC} -Wall -g -Wwrite-strings -DHAS_ISBLANK
+#CC = gcc -Wall -g
+#CC = /opt/SUNWspro/bin/cc
+#CC = /opt/pure/purify/purify cc
diff --git a/lang/nawk/files/patch-ba b/lang/nawk/files/patch-ba
deleted file mode 100644
index 7b5724ec3ef3..000000000000
--- a/lang/nawk/files/patch-ba
+++ /dev/null
@@ -1,12 +0,0 @@
---- b.c.orig Sun Sep 24 17:18:38 2000
-+++ b.c Fri Nov 3 01:59:32 2000
-@@ -27,6 +27,9 @@
- #define DEBUG
-
- #include <ctype.h>
-+#ifdef __FreeBSD__
-+#include <limits.h>
-+#endif
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>