aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/wmtz/files
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-04-30 14:00:15 +0800
committertaoka <taoka@FreeBSD.org>1999-04-30 14:00:15 +0800
commit1ce56d108d6757ad4a2deea073c161dbc198ec52 (patch)
treed7c434e88e34223a982e1d44592aff754b9679b2 /x11-clocks/wmtz/files
parent39de424939ebbd1a8fde4c167e9be8c8583b1504 (diff)
downloadfreebsd-ports-gnome-1ce56d108d6757ad4a2deea073c161dbc198ec52.tar.gz
freebsd-ports-gnome-1ce56d108d6757ad4a2deea073c161dbc198ec52.tar.zst
freebsd-ports-gnome-1ce56d108d6757ad4a2deea073c161dbc198ec52.zip
a dockapp that displays the time in different time zones
PR: 11297 Submiited by: Jim Mock <jim@phrantic.phear.net>
Diffstat (limited to 'x11-clocks/wmtz/files')
-rw-r--r--x11-clocks/wmtz/files/patch-aa47
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-clocks/wmtz/files/patch-aa b/x11-clocks/wmtz/files/patch-aa
new file mode 100644
index 000000000000..9c99d555dd89
--- /dev/null
+++ b/x11-clocks/wmtz/files/patch-aa
@@ -0,0 +1,47 @@
+--- Makefile.orig Sat Apr 24 09:24:32 1999
++++ Makefile Sat Apr 24 09:26:34 1999
+@@ -1,7 +1,7 @@
+ CC = gcc
+ LIBDIR = -L/usr/X11R6/lib
+ LIBS = -lXpm -lXext -lX11 -lm
+-FLAGS = -O2
++CFLAGS = -Wall -O2
+ OBJS = wmtz.o \
+ ../wmgeneral/wmgeneral.o \
+ ../wmgeneral/misc.o \
+@@ -9,10 +9,10 @@
+
+
+ .c.o:
+- $(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
++ $(CC) -I/usr/X11R6/include $(CFLAGS) -c $< -o $*.o
+
+ wmtz: $(OBJS)
+- $(CC) $(FLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) -o wmtz $^ -lXext $(LIBDIR) $(LIBS)
+
+ all:: wmtz
+
+@@ -24,18 +24,11 @@
+ rm -f *~
+
+ install:: wmtz
+- cp -f wmtz /usr/local/bin/
+- chmod 755 /usr/local/bin/wmtz
+- chown root:root /usr/local/bin/wmtz
+- cp wmtzrc $(HOME)/.wmtzrc
+- chmod 600 $(HOME)/.wmtzrc
+- cp wmtzrc /etc/wmtzrc
+- chmod 644 /etc/wmtzrc
++ cp -f wmtz /usr/X11R6/bin/
++ chmod 755 /usr/X11R6/bin/wmtz
++ chown root.wheel /usr/X11R6/bin/wmtz
+ @echo "wmtz: Installation finished..."
+
+ uninstall::
+- rm -i /usr/local/bin/wmtz
+- rm -i /etc/wmtzrc
+- chmod 666 $(HOME)/.wmtzrc
+- rm -i $(HOME)/.wmtzrc
++ rm -i /usr/X11R6/bin/wmtz
+ @echo "wmtz: Uninstall completed..."