ports/devel/ecgi/files/patch-html2h_Makefile
John Marino 9e56b671c8 Resurrect devel/ecgi with stage support
The port had been essentially unmaintained since 2006 and was removed
three years ago.  It needs some TLC to bring it up to modern standards.
Pass maintainership to submitter.

PR:		189010
Submitted by:	Chris Hutchinson
Add'l fixes by:	marino
2014-06-14 10:11:01 +00:00

17 lines
418 B
Text

--- html2h/Makefile.orig 2014-04-26 01:31:51.028376169 -0700
+++ html2h/Makefile 2014-04-26 01:38:06.265403221 -0700
@@ -1,11 +1,11 @@
-CC = gcc
+CC?= gcc
INCS = -I../include/ -I.
-FLAGS = -Wall
+CFLAGS += -Wall
all: html2h
html2h: html2h.c html2h.h
- $(CC) html2h.c -o html2h $(INCS) $(FLAGS) ../obj/memfile.o
+ $(CC) html2h.c -o html2h $(INCS) $(CFLAGS) ../obj/memfile.o
install: all
cp html2h /usr/bin