mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
41418c0b06
PR: ports/102504 Submitted by: Jeroen Schot <schot@a-eskwadraat.nl> (maintainer)
31 lines
703 B
Makefile
31 lines
703 B
Makefile
--- config.mk.orig Mon Aug 7 08:52:49 2006
|
|
+++ config.mk Mon Aug 7 13:12:07 2006
|
|
@@ -4,21 +4,21 @@
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
+PREFIX ?= /usr/local
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
-X11INC = /usr/X11R6/include
|
|
-X11LIB = /usr/X11R6/lib
|
|
+X11INC = $(X11BASE)/include
|
|
+X11LIB = $(X11BASE)/lib
|
|
|
|
# includes and libs
|
|
INCS = -I. -I/usr/include -I${X11INC}
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
|
|
|
|
# flags
|
|
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
|
|
+CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
|
|
LDFLAGS = ${LIBS}
|
|
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
|
|
#LDFLAGS = -g ${LIBS}
|
|
|
|
# compiler
|
|
-CC = cc
|
|
+CC?= cc
|