summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/patches/patch-al
blob: 4f79802e1c4685bffac763129fb76c585939649b (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
$NetBSD: patch-al,v 1.3 2000/08/15 14:48:23 abs Exp $

--- etc/psf/Makefile.orig	Thu Feb  4 06:57:52 1999
+++ etc/psf/Makefile
@@ -25,21 +25,21 @@
 psf.o : psf.c
 	${CC} ${CFLAGS} -D_PATH_PAP=\"${BINDIR}/pap\" \
 	    -D_PATH_PSORDER=\"${BINDIR}/psorder\" \
-	    -D_PATH_PSA=\"${SBINDIR}/psa\" \
-	    -D_PATH_PSFILTER=\"${SBINDIR}/etc2ps\" \
+	    -D_PATH_PSA=\"${LIBEXECDIR}/psa\" \
+	    -D_PATH_PSFILTER=\"${LIBEXECDIR}/etc2ps\" \
 	    -D_PATH_PAGECOUNT=\"${RESDIR}/pagecount.ps\" \
 	    ${CPPFLAGS} -c psf.c
 
 install : all
 	-mkdir ${RESDIR}
-	-mkdir ${RESDIR}/filters
-	${INSTALL} -c psa ${SBINDIR}
-	${INSTALL} -c etc2ps.sh ${SBINDIR}/etc2ps
+	-mkdir ${LIBEXECDIR}/psffilters
+	${INSTALL} -c psa ${LIBEXECDIR}
+	${INSTALL} -c etc2ps.sh ${LIBEXECDIR}/etc2ps
 	${INSTALL} -c pagecount.ps ${RESDIR}
-	${INSTALL} -c psf ${SBINDIR}
+	${INSTALL} -c psf ${LIBEXECDIR}
 	for i in ${LINKS} ; do \
-	    rm -f ${RESDIR}/filters/$$i; \
-	    ln -s ${SBINDIR}/psf ${RESDIR}/filters/$$i; \
+	    rm -f ${LIBEXECDIR}/psffilters/$$i; \
+	    ln -s ../psf ${LIBEXECDIR}/psffilters/$$i; \
 	done
 
 clean :