summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ups-nut/patches/patch-ag')
-rw-r--r--sysutils/ups-nut/patches/patch-ag29
1 files changed, 13 insertions, 16 deletions
diff --git a/sysutils/ups-nut/patches/patch-ag b/sysutils/ups-nut/patches/patch-ag
index 66c39bae4d9..ea9e99f5ac1 100644
--- a/sysutils/ups-nut/patches/patch-ag
+++ b/sysutils/ups-nut/patches/patch-ag
@@ -1,24 +1,21 @@
-$NetBSD: patch-ag,v 1.3 2001/11/21 03:22:05 simonb Exp $
+$NetBSD: patch-ag,v 1.4 2002/05/13 14:40:51 lukem Exp $
---- models/Makefile.in.orig Wed Aug 29 21:40:53 2001
-+++ models/Makefile.in Wed Nov 21 02:52:43 2001
-@@ -1,7 +1,9 @@
- # Network UPS Tools: models
+--- models/Makefile.in.orig Tue Mar 26 10:30:31 2002
++++ models/Makefile.in
+@@ -2,6 +2,7 @@
# directories
-+prefix = $(INSTALLROOT)@prefix@
MODELPATH = $(INSTALLROOT)@MODELPATH@
-+SBINPATH = $(prefix)/@sbindir@
++SBINPATH = $(INSTALLROOT)@prefix@/@sbindir@
# other definitions
CC = @CC@
-@@ -85,6 +87,8 @@
- distclean: clean
+@@ -97,7 +98,7 @@
+ # Install handlers
+
+ install: all install-@DRIVER_INSTALL_TARGET@
+- $(INSTALLCMD) -m $(INSTALLMODE) upsdrvctl $(MODELPATH);
++ $(INSTALLCMD) -m $(INSTALLMODE) upsdrvctl $(SBINPATH);
+
+ # Install every driver
- install: all
-- @for f in $(PROGS) $(PROGS2) upsdrvctl ; do \
-+ $(INSTALLCMD) -m 0755 -d $(MODELPATH)
-+ @for f in $(PROGS) $(PROGS2) ; do \
- $(INSTALLCMD) -m $(INSTALLMODE) $$f $(MODELPATH); \
- done
-+ @$(INSTALLCMD) -m $(INSTALLMODE) upsdrvctl $(SBINPATH)