summaryrefslogtreecommitdiffstats
path: root/x11-clocks/wmbday/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/wmbday/files')
-rw-r--r--x11-clocks/wmbday/files/patch-Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-clocks/wmbday/files/patch-Makefile b/x11-clocks/wmbday/files/patch-Makefile
new file mode 100644
index 0000000..33f5cda
--- /dev/null
+++ b/x11-clocks/wmbday/files/patch-Makefile
@@ -0,0 +1,24 @@
+--- Makefile.orig Sun Jul 27 15:11:38 2003
++++ Makefile Tue Jan 6 00:39:09 2004
+@@ -1,16 +1,15 @@
+-CC = gcc
+ OBJS = date.c ring.c main.c
+-INCDIR = -I/usr/X11R6/include
+-LIBDIR = -L/usr/X11R6/lib
++INCDIR = -I$(X11BASE)/include
++LIBDIR = -L$(X11BASE)/lib
+ LIBS = -lX11 -lXext
+-BIN_DESTDIR = /usr/local/bin
+-MAN_DESTDIR = /usr/local/man/man1
++BIN_DESTDIR = $(PREFIX)/local/bin
++MAN_DESTDIR = $(PREFIX)/man/man1
+ PACKAGE = wmbday
+ VERSION = 0.1
+
+
+ all:
+- $(CC) $(OBJS) -o wmbday -Wall $(LIBDIR) $(LIBS) $(INCDIR)
++ $(CC) $(CFLAGS) $(OBJS) -o wmbday -Wall $(LIBDIR) $(LIBS) $(INCDIR)
+
+ debug:
+ $(CC) -g $(OBJS) -o wmbday -Wall $(LIBDIR) $(LIBS) $(INCDIR)
OpenPOWER on IntegriCloud