opnsense-ports/devel/ecgi/files/patch-html2h_Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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