summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/patches/patch-bh
blob: 25fabb4a69d9a7c69375a9e7121cab58e19444d8 (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
$NetBSD: patch-bh,v 1.5 2001/05/24 17:00:58 abs Exp $

--- sys/freebsd/Makefile.orig	Thu Feb  4 07:38:12 1999
+++ sys/freebsd/Makefile
@@ -20,6 +20,7 @@
 ${ALL}:	FRC
 	cd $@; ${MAKE} ${MFLAGS} CC="${CC}" \
 	    ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
+	    LIBEXECDIR="${LIBEXECDIR}" EXAMPLEDIR="${EXAMPLEDIR}" \
 	    SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}" \
 	    ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
 	    DESTDIR="${DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
@@ -29,9 +30,11 @@
 
 install :
 	-mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR}
+	-mkdir ${LIBEXECDIR} ${EXAMPLEDIR}
 	for i in ${ALL}; \
 	    do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
 		ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
+		LIBEXECDIR="${LIBEXECDIR}" EXAMPLEDIR="${EXAMPLEDIR}" \
 	        SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}" \
 	        ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
 		AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" AFPLIBS="${AFPLIBS}" \
@@ -42,6 +45,8 @@
 		-e s@:BINDIR:@${BINDIR}@ -e s@:RESDIR:@${RESDIR}@ \
 		-e s@:ETCDIR:@${ETCDIR}@ -e s@:LIBDIR:@${LIBDIR}@ \
 		-e s@:INCDIR:@${INCDIR}@ \
+		-e s@:LIBEXECDIR:@${LIBEXECDIR}@ \
+		-e s@:EXAMPLEDIR:@${EXAMPLEDIR}@ \
 	    < ../../rc.atalk.bsd > ${ETCDIR}/rc.atalk
 	@echo
 	@echo "Install is done.  Don't forget to add lines from"