From 13ac389a02794e94644ed05757d164fec23577e4 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 20 Jun 2000 09:30:29 +0000 Subject: Update to the 0.2.0 version. Also make it use BSD_INSTALL_* macros and make it PREFIX clean while I'm here. PR: 19294 Submitted by: W. M. Shandruk --- sysutils/monitord/files/patch-aa | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'sysutils/monitord/files/patch-aa') diff --git a/sysutils/monitord/files/patch-aa b/sysutils/monitord/files/patch-aa index 503db3503920..76bab31d5f10 100644 --- a/sysutils/monitord/files/patch-aa +++ b/sysutils/monitord/files/patch-aa @@ -1,17 +1,21 @@ ---- Makefile Mon Jun 5 01:37:50 2000 -+++ Makefile.new Fri Jun 9 17:48:47 2000 -@@ -1,4 +1,4 @@ --CC = gcc -+CC ?= gcc - INSTALL = install +--- Makefile.orig Thu Jun 15 12:17:14 2000 ++++ Makefile Tue Jun 20 12:28:02 2000 +@@ -6,7 +6,7 @@ - SOURCES = monitord.c -@@ -13,7 +13,7 @@ + TARGET = monitord - .c.o: +-MANDIR = /usr/local/man ++MANDIR = $(PREFIX)/man -- $(CC) -O3 -c -pipe -Wall $< -+ $(CC) $(CFLAGS) -c -pipe -Wall $< - - $(TARGET): $(OBJECTS) + .SUFFIXES: + .SUFFIXES: .c .o +@@ -28,6 +28,6 @@ $(CC) $(OBJECTS) -o $(TARGET) + + install: +- $(INSTALL) -cs $(TARGET) /usr/local/bin +- $(INSTALL) -c $(TARGET).conf /usr/local/etc +- $(INSTALL) -c $(TARGET).8 $(MANDIR)/man8 ++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(PREFIX)/bin ++ $(BSD_INSTALL_DATA) $(TARGET).conf $(PREFIX)/etc ++ $(BSD_INSTALL_MAN) -c $(TARGET).8 $(MANDIR)/man8 -- cgit v1.2.3