mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
16 lines
345 B
Text
16 lines
345 B
Text
--- GNUmakefile.orig 2003-07-22 09:52:46 UTC
|
|
+++ GNUmakefile
|
|
@@ -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)
|