1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/lang/nawk/files/patch-makefile
Rong-En Fan 457c542620 - Update to 20070501
- Add one fix from src/usr.bin/awk/lib.c.diff rev 1.2
- Normalize DIST_SUBDIR as other ports

PR:		ports/114227
Submitted by:	Pedro F. Giffuni <giffunip at tutopia.com>
2007-07-04 09:01:45 +00:00

27 lines
550 B
Plaintext

--- makefile.orig Mon Apr 30 08:10:40 2007
+++ makefile Mon Jul 2 18:32:10 2007
@@ -22,20 +22,11 @@
# 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
+CC ?= cc
-
-YACC = bison -y
-YACC = yacc
+YACC ?= yacc
YFLAGS = -d
OFILES = b.o main.o parse.o proctab.o tran.o lib.o run.o lex.o