summaryrefslogtreecommitdiff
path: root/comms/hylafax/patches/patch-ag
blob: 848c6b2221aa1a0c2e85e79fcba9aeb8c4af7e45 (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.4 2001/04/23 15:06:14 abs Exp $

--- etc/Makefile.in.orig	Tue Feb  6 04:54:06 2001
+++ etc/Makefile.in
@@ -85,14 +85,16 @@
 		-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
 
 #