1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/sysutils/wmhm/files/patch-ac
Kevin Lo 7b226a1249 - Support PREFIX/X11BASE properly
- WindowMaker -> Window Maker

PR: 20549
Submitted by: Ports Fury
2000-08-12 08:07:37 +00:00

19 lines
626 B
Plaintext

--- Makefile.in.orig Thu May 18 15:11:57 2000
+++ Makefile.in Sat Aug 12 00:15:10 2000
@@ -1,11 +1,12 @@
DEFINES+= -DHAVE_CONFIG_H
-CFLAGS+= -O2 -Wall -I/usr/X11R6/include $(DEFINES)
-LDFLAGS+= -lXpm -lXext -lX11 -L/usr/X11R6/lib -lXpm -lm
+CFLAGS?= -O2
+CFLAGS+= -I${X11BASE}/include $(DEFINES)
+LDFLAGS+= -lXpm -lXext -lX11 -L${X11BASE}/lib -lm
HEADERS= wmhm.h wmgeneral.h operations.h display.h
SRCS= wmhm.c wmgeneral.c operations.c display.c
-PREFIX= /usr/local
+PREFIX?= /usr/local
BINDIR= $(PREFIX)/bin
MANDIR= $(PREFIX)/man/man