summaryrefslogtreecommitdiff
path: root/time/wmfishtime/patches/patch-aa
blob: 66ae9d675a117e56af4ccc0d2100e01903a3b624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-aa,v 1.4 2003/01/19 10:27:57 salo Exp $
--- Makefile.orig	Sat May 26 22:49:41 2001
+++ Makefile	Sat Jan 19 05:48:48 2002
@@ -2,22 +2,22 @@
 DESTDIR =
 
 # where to install this program
-PREFIX = $(DESTDIR)/usr/X11R6
+# PREFIX = $(DESTDIR)/usr/X11R6
 
 # no user serviceable parts below this line
 # optimization cflags
-CFLAGS = -O3 -Wall `gtk-config --cflags` ${EXTRA}
+CFLAGS += -O3 -Wall `gtk-config --cflags` ${EXTRA}
 # profiling cflags
 # CFLAGS=-ansi -pedantic -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO
 # test coverage cflags
 # CFLAGS=-fprofile-arcs -ftest-coverage -Wall -ansi -pedantic -g `gtk-config --cflags` ${EXTRA} -DPRO
 
 
-CC = gcc
-SHELL = sh
+# CC = gcc
+# SHELL = sh
 OBJS = fishmon.o
 LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
-INSTALL = -m 755
+# INSTALL = -m 755
 
 all: wmfishtime
 
@@ -29,5 +29,5 @@
 
 # You're going to have to be root to do this!
 install:
-	install $(INSTALL) wmfishtime $(PREFIX)/bin
-	install $(INSTALL) wmfishtime.1 $(PREFIX)/man/man1
+	$(BSD_INSTALL_PROGRAM) wmfishtime $(PREFIX)/bin
+	$(BSD_INSTALL_MAN) wmfishtime.1 $(PREFIX)/man/man1