summaryrefslogtreecommitdiff
path: root/misc/wmstock/files/patch-ab
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-05-20 05:42:16 +0000
committerWill Andrews <will@FreeBSD.org>2000-05-20 05:42:16 +0000
commite44ff1088a395aeada673bf0d9c8152c35dbde9a (patch)
tree9cfb8dfe121696a361c1097f1f1e9588c6863417 /misc/wmstock/files/patch-ab
parentDistfile has returned to its original location; MD5 checksum still matches. (diff)
Update to 0.11.
Diffstat (limited to '')
-rw-r--r--misc/wmstock/files/patch-ab39
1 files changed, 10 insertions, 29 deletions
diff --git a/misc/wmstock/files/patch-ab b/misc/wmstock/files/patch-ab
index b4707ad937f5..bde526c3a636 100644
--- a/misc/wmstock/files/patch-ab
+++ b/misc/wmstock/files/patch-ab
@@ -1,41 +1,22 @@
---- Makefile.orig Wed Jul 7 12:22:08 1999
-+++ Makefile Sun Aug 1 19:45:11 1999
-@@ -2,13 +2,13 @@
+--- Makefile Wed Apr 19 11:17:30 2000
++++ Makefile.new Sat May 20 01:34:48 2000
+@@ -2,14 +2,15 @@
# <mfischer@umr.edu>
# based on wmWeather - see ../Credits for more information
-CC = gcc
--CFLAGS = -O2 -g -Wall
+CC ?= gcc
-+CFLAGS += -g -Wall
- DEBUG = -DMLF_DEBUG
+ DEBUG = -DMLF_DEBUG -DTIME_DEBUG
GCOV = -fprofile-arcs -ftest-coverage
+
+ #standard, should work for most Linux/Solaris (may need to be changed for HP)
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
-DESTDIR= /usr/X11R6
-LIBDIR = -L/usr/X11R6/lib
-+INCDIR = -I${PREFIX}/include/X11 -I${PREFIX}/include
++X11BASE ?= /usr/X11R6
++INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
+DESTDIR= ${PREFIX}
-+LIBDIR = -L${PREFIX}/lib
++LIBDIR = -L${X11BASE}/lib
+
# for linux
LIBS = -lXpm -lX11 -lXext
- # for Solaris
-@@ -22,10 +22,6 @@
- .c.o:
- $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
-
--# $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
--# no longer need the -D<uname>...
--
--
- all: wmstock.o wmstock
-
- wmstock.o: wmstock_master.xpm wmstock_mask.xbm
-@@ -43,8 +39,3 @@
- rm -f $$i; \
- done
- rm -f wmstock
--
--install:: wmstock
-- install -c -s -m 0755 wmstock $(DESTDIR)/bin
-- install -c -m 0755 testqt.pl $(DESTDIR)/bin
-- install -c -m 0644 wmstock.1x $(DESTDIR)/man/man1