summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk-asun/patches/patch-ai')
-rw-r--r--net/netatalk-asun/patches/patch-ai48
1 files changed, 16 insertions, 32 deletions
diff --git a/net/netatalk-asun/patches/patch-ai b/net/netatalk-asun/patches/patch-ai
index 6b5be75053e..29ab8051348 100644
--- a/net/netatalk-asun/patches/patch-ai
+++ b/net/netatalk-asun/patches/patch-ai
@@ -1,37 +1,21 @@
-$NetBSD: patch-ai,v 1.1.1.1 2000/07/31 17:36:02 abs Exp $
+$NetBSD: patch-ai,v 1.2 2000/07/31 18:33:49 abs Exp $
---- sys/linux/Makefile.orig Sat Feb 27 21:10:59 1999
-+++ sys/linux/Makefile Mon Jul 31 14:07:25 2000
-@@ -23,6 +23,7 @@
- ${ALL}: FRC
- cd $@; ${MAKE} ${MFLAGS} CC="${CC}" \
- ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
+--- etc/papd/Makefile.orig Tue May 20 18:35:42 1997
++++ etc/papd/Makefile Mon Jul 31 18:46:19 2000
+@@ -20,6 +20,7 @@
+ fi; \
+ ${MAKE} ${MFLAGS} CC="${CC}" ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" \
+ OPTOPTS="${OPTOPTS}" DESTDIR="${DESTDIR}" \
+ LIBEXECDIR="${LIBEXECDIR}" EXAMPLEDIR="${EXAMPLEDIR}" \
SBINDIR="${SBINDIR}" BINDIR="${BINDIR}" RESDIR="${RESDIR}" \
ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \
- DESTDIR="${DESTDIR}" AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
-@@ -40,6 +41,8 @@
- sed -e s@:DESTDIR:@${DESTDIR}@ -e s@:SBINDIR:@${SBINDIR}@ \
- -e s@:BINDIR:@${BINDIR}@ -e s@:RESDIR:@${RESDIR}@ \
- -e s@:ETCDIR:@${ETCDIR}@ -e s@:LIBDIR:@${LIBDIR}@ \
-+ -e s@:LIBEXECDIR:@${LIBEXECDIR}@ \
-+ -e s@:EXAMPLEDIR:@${EXAMPLEDIR}@ \
- -e s@:INCDIR:@${INCDIR}@ \
- < ../../rc.atalk.redhat > /etc/rc.d/init.d/atalk.init; \
- sed -e s@:RCDIR:@/etc/rc.d/init.d@ \
-@@ -62,12 +65,15 @@
- -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; \
- fi \
- fi
+ KRBLIBS="$${KRBLIBS}" KRBLIBDIRS="$${KRBLIBDIRS}" \
+@@ -56,7 +57,7 @@
+ ${CPPFLAGS} -c main.c
- install : ${ETCDIR} install-sysv install-bsd
- -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${LIBDIR}
-+ -mkdir ${LIBEXECDIR} ${EXAMPLEDIR}
- for i in ${ALL}; \
- do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
- ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
+ install : all
+- ${INSTALL} -c papd ${SBINDIR}
++ ${INSTALL} -c papd ${LIBEXECDIR}
+
+ clean :
+ rm -f a.out core* *.o *.bak *[Ee]rrs tags