freebsd-ports/misc/wmtunlo/files/patch-Makefile
Adam Weinberger 1d1ccf668e Update to 0.1.3, and change that horrible COMMENT= string. FWIW, that
string was taken from the author's description.

Prompted by:	fenner's portsurvey (the old version didn't fetch)
2003-11-07 21:12:44 +00:00

24 lines
699 B
Plaintext

--- Makefile.orig Fri Nov 7 16:00:13 2003
+++ Makefile Fri Nov 7 16:01:42 2003
@@ -1,15 +1,15 @@
-CFLAGS = -Wall -Os
-INCS = -I/usr/X11R6/include/X11
-LIBS = -L/usr/X11R6/lib -lXpm -lX11 -lXext -lm
+CFLAGS += -Wall
+INCS = -I${X11BASE}/include -I${X11BASE}/include/X11
+LIBS = -L${X11BASE}/lib -lXpm -lX11 -lXext -lm
INSTALL_PREFIX = /usr/local
wmtunlo: docklib.o wmtunlo.c mask.h master.h
- gcc $(CFLAGS) $(INCS) docklib.o wmtunlo.c -o wmtunlo $(LIBS)
+ ${CC} $(CFLAGS) $(INCS) docklib.o wmtunlo.c -o wmtunlo $(LIBS)
docklib.o: docklib.c docklib.h
- gcc $(CFLAGS) $(INCS) -c docklib.c
+ ${CC} $(CFLAGS) $(INCS) -c docklib.c
install:
cp ./wmtunlo $(INSTALL_PREFIX)/bin