summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/patches/patch-bg
blob: 8ebf2c39e7553a65a72372c6a820b411b08ea37a (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-bg,v 1.3 2000/08/15 14:48:24 abs Exp $

--- sys/sunos/Makefile.orig	Fri Sep 18 04:20:15 1998
+++ sys/sunos/Makefile
@@ -51,6 +51,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}" \
 	    AFPLIBS="${AFPLIBS}" \
@@ -69,9 +70,12 @@
 	-mkdir ${BINDIR}
 	-mkdir ${ETCDIR}
 	-mkdir ${LIBDIR}
+	-mkdir ${LIBEXECDIR}
+	-mkdir ${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}" \
 		DESTDIR="${DESTDIR}" MANDIR="${MANDIR}" AFPLIBS="${AFPLIBS}" \
@@ -83,6 +87,8 @@
 		-e s@:BINDIR:@${BINDIR}@ -e s@:RESDIR:@${RESDIR}@ \
 		-e s@:ETCDIR:@${ETCDIR}@ -e s@:LIBDIR:@${LIBDIR}@ \
 		-e s@:INCDIR:@${INCDIR}@ -e 's@^##@@' \
+		-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"