summaryrefslogtreecommitdiff
path: root/comms/hylafax/patches/patch-ag
blob: 99a1ca7be67d2ae1b3db66a0827a3053d95f9bdd (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
$NetBSD: patch-ag,v 1.5 2003/09/23 21:39:48 abs Exp $

--- etc/Makefile.in.orig	Tue Feb  6 04:54:06 2001
+++ etc/Makefile.in
@@ -85,14 +85,16 @@ install: default
 		-src ${SRCDIR}/faxsetup.$$i -O faxsetup.$$i; \
 	done
 	${PUTSERVER} -F ${SBIN} -m 755 -src probemodem.sh -O probemodem
-	${PUTSAMPLE} -F ${SPOOL}/etc -m 644 -o xferfaxlog
-	${PUTSAMPLE} -F ${SPOOL}/etc -m 600 -o hosts.hfaxd
+	-${MKDIR} -m 755 ${PREFIX}/share/hylafax
+	-${MKDIR} -m 755 ${PREFIX}/share/hylafax/etc_template
+	${PUTSAMPLE} -F ${PREFIX}/share/hylafax/etc_template -m 644 -o xferfaxlog
+	${PUTSAMPLE} -F ${PREFIX}/share/hylafax/etc_template -m 600 -o hosts.hfaxd
 	for i in ${DIALRULES}; do \
-	    ${PUTSERVER} -F ${SPOOL}/etc -m 444 -src ${SRCDIR}/$$i \
+	    ${PUTSERVER} -F ${PREFIX}/share/hylafax/etc_template -m 444 -src ${SRCDIR}/$$i \
 		-idb "config(update)" -O $$i; \
 	done
 	${PUTSERVER} -F ${LIBEXEC} -m 755 -O lockname ondelay
-	${PUTSAMPLE} -F ${SPOOL}/etc -m 644 -idb nostrip \
+	${PUTSAMPLE} -F ${PREFIX}/share/hylafax/etc_template -m 644 -idb nostrip \
 	    -src ${SRCDIR}/lutRS18.pcf -O lutRS18.pcf
 
 #