openbsd-ports/x11/wmtz/patches/patch-wmtz_Makefile
wilfried 8ee56bc9e2 Upgrade to 0.7
* Added option TZONE for time zone time with automatic compensation
for daylight savings time.

* Added a monochrome bitmap. Activate it with the -m command line
option.
2001-06-15 09:59:32 +00:00

27 lines
673 B
Plaintext

$OpenBSD: patch-wmtz_Makefile,v 1.2 2001/06/15 09:59:34 wilfried Exp $
--- wmtz/Makefile.orig Sun Mar 11 14:57:59 2001
+++ wmtz/Makefile Fri Jun 15 11:49:09 2001
@@ -1,8 +1,5 @@
-CC = gcc
-LIBDIR = -L/usr/X11R6/lib
+LIBDIR = -L${X11BASE}/lib
LIBS = -lXpm -lXext -lX11 -lm
-FLAGS = -O2
-DESTDIR = /usr/local
OBJS = wmtz.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
@@ -10,10 +7,10 @@ OBJS = wmtz.o \
.c.o:
- $(CC) -I/usr/X11R6/include $(FLAGS) -c -Wall $< -o $*.o
+ $(CC) -I${X11BASE}/include ${CFLAGS} -c $< -o $@
wmtz: $(OBJS)
- $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS)
+ $(CC) ${CFLAGS} -o $@ ${OBJS} $(LIBDIR) $(LIBS)
all:: wmtz