1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/x11-wm/dwm/files/patch-config.mk
Pav Lucistnik 41418c0b06 - Update to 1.0
PR:		ports/102504
Submitted by:	Jeroen Schot <schot@a-eskwadraat.nl> (maintainer)
2006-08-28 08:12:15 +00:00

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