freebsd-ports/graphics/png2html/files/patch-aa
Norikatsu Shigemura 99a390f50b o Change library name from libgd to libgd1.
o Do not install everything except headers and libraries
  (to avoid conflicting with graphics/gd2)
o Fix dependency on new libgd1(for many ports).

PR:		ports/54100
Submitted by:	Ports Fury
2003-07-11 18:16:14 +00: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