freebsd-ports/lang/nawk/files/patch-makefile
John Marino 6a29754575 lang/nawk: Upgrade version 20110810 => 20121220
While here, set the DIST_SUBDIR to something unique since the distfile
has the same name between versions.  Also reset maintainship as
Hiro doesn't use nawk on FreeBSD and updates are infrequent.

PR:		187543
Submitted by:	Pedro Giffuni
Tweaks by:	marino@
2014-11-10 19:18:49 +00:00

25 lines
598 B
Text

--- makefile.orig 2012-12-20 13:58:45 UTC
+++ makefile
@@ -22,19 +22,9 @@
# THIS SOFTWARE.
# ****************************************************************/
-CFLAGS = -g
-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 -g -Wall -pedantic
-CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
-
-YACC = bison -d -y
-YACC = yacc -d -S
-#YFLAGS = -d -S
- # -S uses sprintf in yacc parser instead of sprint
+
+CC?= cc
+YACC?= yacc -d
OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o