opnsense-ports/graphics/png2html/files/patch-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

20 lines
468 B
Text

--- Makefile.orig Sat Nov 13 14:42:36 1999
+++ Makefile Sat Feb 19 02:41:12 2000
@@ -1,12 +1,14 @@
# Makefile for png2html, (c) 1999 Geoff Holden
-CC = gcc
-CFLAGS = -O2 -Wall -lpng -lgd
+CC ?= gcc
+INCLUDES= -ICHANGE_ME/include
+LDFLAGS = -LCHANGE_ME/lib
+LIBS = -lpng -lgd
all: png2html
png2html:
- $(CC) -o png2html png2html.c $(CFLAGS)
+ $(CC) -o png2html png2html.c $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(LIBS)
clean:
rm -f *~ png2html