summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/patches/patch-ag
blob: ea9e99f5ac1f69542b2f610a5e42969846838280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ag,v 1.4 2002/05/13 14:40:51 lukem Exp $

--- models/Makefile.in.orig	Tue Mar 26 10:30:31 2002
+++ models/Makefile.in
@@ -2,6 +2,7 @@
 
 # directories
 MODELPATH = $(INSTALLROOT)@MODELPATH@
+SBINPATH  = $(INSTALLROOT)@prefix@/@sbindir@
 
 # other definitions
 CC	= @CC@
@@ -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