summaryrefslogtreecommitdiff
path: root/lang/nawk/files/patch-aa
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-10-29 11:26:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-10-29 11:26:34 +0000
commit95e90fe8b854166f144d0c8004077434d4d201cf (patch)
tree6532bea5f5e91d4b50a2bd4ce2ee728e2d0f8dc6 /lang/nawk/files/patch-aa
parentUpdate LIB_DEPENDS according to updating japanese/Wnn6-lib (diff)
Make lang/nawk building on -current again.
I didn't really take the patches from the PR, since 95% of them where tab to space conversions. Also tweaked the makefile to use ${CC} instead of cc. The distinfo change is because of the rollout of a new version, of which the Makefile was already changed but the distinfo not. PR: ports/44281 Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>
Diffstat (limited to 'lang/nawk/files/patch-aa')
-rw-r--r--lang/nawk/files/patch-aa18
1 files changed, 13 insertions, 5 deletions
diff --git a/lang/nawk/files/patch-aa b/lang/nawk/files/patch-aa
index 8ba84e6c94b8..90a6473df217 100644
--- a/lang/nawk/files/patch-aa
+++ b/lang/nawk/files/patch-aa
@@ -1,18 +1,26 @@
---- makefile.orig Tue Jan 1 06:50:28 2002
-+++ makefile Mon Feb 18 01:45:54 2002
-@@ -25,3 +25,3 @@
+--- makefile.orig Sat Jun 29 03:30:04 2002
++++ makefile Tue Oct 29 22:22:31 2002
+@@ -22,15 +22,15 @@
+ # THIS SOFTWARE.
+ # ****************************************************************/
+
-CFLAGS = -g
-CFLAGS = -O2
-CFLAGS =
+#CFLAGS = -g
+#CFLAGS = -O2
+CFLAGS ?= -O
-@@ -29,4 +29,4 @@
+
+-CC = gcc -Wall -g -Wwrite-strings
-CC = gcc -Wall -g
-CC = /opt/SUNWspro/bin/cc
-CC = /opt/pure/purify/purify cc
-CC = cc
++CC ?= cc
++CC := ${CC} -Wall -g -Wwrite-strings
+#CC = gcc -Wall -g
+#CC = /opt/SUNWspro/bin/cc
+#CC = /opt/pure/purify/purify cc
-+CC ?= cc
+
+ YACC = bison -y
+ YACC = yacc