1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/graphics/libpcd/files/patch-GNUmakefile
Kirill Ponomarev 94426ac8fa Add libpcd 1.0.1, a library for reading PhotoCD images.
PR:		ports/70879
Submitted by:	Andrey Slusar <anray@inet.ua>
2004-08-24 09:05:39 +00:00

17 lines
370 B
Plaintext

--- GNUmakefile.old Mon Aug 23 21:10:15 2004
+++ GNUmakefile Mon Aug 23 21:10:38 2004
@@ -1,11 +1,11 @@
DESTDIR :=
-prefix := /usr/local
+prefix := $(PREFIX)
incdir := $(DESTDIR)$(prefix)/include
libdir := $(DESTDIR)$(prefix)/lib
-CC := gcc
+CC ?= gcc
WARN := -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
CFLAGS ?= -g -O2
CFLAGS += $(WARN)