blob: c9bf23f9798499ce34ece737f8b9b42dfb026a39 (
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
36
37
38
39
40
41
42
43
|
$NetBSD: patch-bf,v 1.3 2000/08/15 14:48:24 abs Exp $
--- sys/solaris/Makefile.orig Wed Feb 3 19:52:10 1999
+++ sys/solaris/Makefile
@@ -48,6 +48,7 @@
esac; \
echo "Making $@ for $$PROCESSOR..."; \
${MAKE} ${MFLAGS} \
+ LIBEXECDIR="${LIBEXECDIR}" EXAMPLEDIR="${EXAMPLEDIR}" \
SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}"\
ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
MANDIR="${MANDIR}" DESTDIR="${DESTDIR}" AFSDIR="${AFSDIR}" \
@@ -67,6 +68,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}" \
@@ -91,6 +93,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.sysv > /etc/init.d/atalk
chmod 744 /etc/init.d/atalk
-ln -s ../init.d/atalk /etc/rc2.d/S79atalk
@@ -98,11 +102,13 @@
install :
-mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR}
+ -mkdir ${LIBEXECDIR} ${EXAMPLEDIR}
sed -e s@:BINDIR:@${BINDIR}@ < ../../lp2pap.sh > ${RESDIR}/lp2pap.sh
chmod 744 ${RESDIR}/lp2pap.sh
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}" \
|