summaryrefslogtreecommitdiff
path: root/comms/hylafax/patches/patch-an
blob: 4629efea04f0c46dcc5437ba1e5358a0fe664ec7 (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
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-an,v 1.5 2001/07/08 13:32:15 bad Exp $

--- util/Makefile.in.orig	Wed May 30 04:04:39 2001
+++ util/Makefile.in	Sun Jul  8 01:12:54 2001
@@ -154,7 +154,7 @@
 PUTCLIENT	= ${INSTALL} -idb ${PRODUCT}.sw.client
 PUTSERVER	= ${INSTALL} -idb ${PRODUCT}.sw.server
 PUTSERV		= ${PUTSERVER} -m 755
-PUTSUPD		= ${PUTSERVER} -F ${SPOOL}/bin -idb "config(update)"
+PUTSUPD		= ${PUTSERVER} -F ${LIBEXEC}/hylafax -idb "config(update)"
 PUTSBIN		= ${PUTSERVER} -F ${SBIN}
 
 installClient: default
@@ -171,6 +171,7 @@
 	${PUTSBIN} -m 755 -src xferfaxstats.sh -O xferfaxstats
 	${PUTSBIN} -m 755 -src recvstats.sh -O recvstats
 	${PUTSBIN} -m 755 -idb "config(update)" -src faxcron.sh -O faxcron
+	-${MKDIR} -m 755 ${LIBEXEC}/hylafax
 	${PUTSUPD} -m 755 -src ps2fax.gs.sh -O ps2fax.gs
 	${PUTSUPD} -m 755 -src ps2fax.dps.sh -O ps2fax.dps
 	${PUTSUPD} -m 755 -src ps2fax.imp.sh -O ps2fax.imp
@@ -183,9 +184,11 @@
 	${PUTSUPD} -m 755 -src pollrcvd.sh -O pollrcvd
 	${PUTSUPD} -m 755 -src mkcover.sh -O mkcover
 	${PUTSUPD} -m 755 -src wedged.sh -O wedged
-	${PUTSERVER} -F ${SPOOL}/etc -m 444 -idb "config(update)" \
+	-${MKDIR} -m 755 ${PREFIX}/share/hylafax
+	-${MKDIR} -m 755 ${PREFIX}/share/hylafax/etc_template
+	${PUTSERVER} -F ${PREFIX}/share/hylafax/etc_template -m 444 -idb "config(update)" \
 	    -src ${SRCDIR}/dpsprinter.ps -O dpsprinter.ps
-	${PUTSERVER} -F ${SPOOL}/etc -idb "config(suggest)" \
+	${PUTSERVER} -F ${PREFIX}/share/hylafax/etc_template -idb "config(suggest)" \
 	    -m 444 -src ${SRCDIR}/cover.templ -O cover.templ
 
 @MAKEDSOINCLUDE@ @MAKELQUOTE@${SRCDIR}/Makefile.@DSO@dso@MAKERQUOTE@