summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/patches/patch-bk
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk-asun/patches/patch-bk')
-rw-r--r--net/netatalk-asun/patches/patch-bk42
1 files changed, 31 insertions, 11 deletions
diff --git a/net/netatalk-asun/patches/patch-bk b/net/netatalk-asun/patches/patch-bk
index 505730a5e67..035aba01f20 100644
--- a/net/netatalk-asun/patches/patch-bk
+++ b/net/netatalk-asun/patches/patch-bk
@@ -1,13 +1,33 @@
-$NetBSD: patch-bk,v 1.1 2001/04/13 19:18:13 jonb Exp $
+$NetBSD: patch-bk,v 1.2 2001/05/21 18:42:22 abs Exp $
---- etc/atalkd/Makefile.orig Wed Apr 11 23:56:32 2001
-+++ etc/atalkd/Makefile Wed Apr 11 23:56:55 2001
-@@ -23,7 +23,7 @@
- ${CPPFLAGS} -c config.c
+--- sys/openbsd/Makefile.orig Mon Feb 22 23:02:31 1999
++++ sys/openbsd/Makefile
+@@ -19,6 +19,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}" \
+@@ -28,9 +29,11 @@
- install : all
-- ${INSTALL} -c atalkd ${SBINDIR}
-+ ${INSTALL} -c atalkd ${LIBEXECDIR}
-
- clean :
- rm -f a.out core* *.o *.bak *[Ee]rrs tags
+ 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}" \
+@@ -41,6 +44,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"