mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
94426ac8fa
PR: ports/70879 Submitted by: Andrey Slusar <anray@inet.ua>
17 lines
370 B
Plaintext
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)
|