1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/net/netatalk-devel/files/patch-ac
Stefan Bethke cd4a8fb9bc Minor additions and fix-ups:
- filenames of Custom Icons for folders ("Icon^M") are properly escaped
- Honors CFLAGS
- package can actually be installed elswhere (pkg_add -p)
- man pages are compressed and properly linked
1998-09-09 01:31:06 +00:00

44 lines
1.5 KiB
Plaintext

--- sys/freebsd/Makefile.orig Tue Oct 22 23:31:01 1996
+++ sys/freebsd/Makefile Wed Sep 9 02:09:02 1998
@@ -1,6 +1,5 @@
# FreeBSD specific defines, passed to subdirectories.
DEFS= -DBSD4_4
-OPTOPTS= -O2
CC= gcc
INSTALL= install
ADDLIBS= -lcrypt
@@ -21,7 +20,8 @@
FRC:
install :
- -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR}
+ -mkdir ${DESTDIR} ${SBINDIR} ${BINDIR} ${ETCDIR} ${LIBDIR} \
+ ${ETCDIR}/rc.d ${RESDIR}/examples/netatalk
for i in ${ALL}; \
do (cd $$i; ${MAKE} ${MFLAGS} CC="${CC}" \
ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" OPTOPTS="${OPTOPTS}" \
@@ -30,17 +30,16 @@
AFSDIR="${AFSDIR}" KRBDIR="${KRBDIR}" \
INSTALL="${INSTALL}" $@); \
done
- rm -f ${ETCDIR}/rc.atalk
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@:INCDIR:@${INCDIR}@ \
- < ../../rc.atalk.bsd > ${ETCDIR}/rc.atalk
- @echo
- @echo "Install is done. Don't forget to add lines from"
- @echo "services.atalk to /etc/services and to call rc.atalk"
- @echo "in /etc/rc. See README and README.FREEBSD for more"
- @echo "information."
+ < ../../rc.atalk.freebsd > ${ETCDIR}/rc.d/netatalk.sh
+ chmod +x ${ETCDIR}/rc.d/netatalk.sh
+ cp ../../config/AppleVolumes.default ${ETCDIR}/AppleVolumes.default.dist
+ cp ../../config/AppleVolumes.system ${ETCDIR}/AppleVolumes.system.dist
+ cp ../../config/atalkd.conf ../../config/papd.conf \
+ ${RESDIR}/examples/netatalk
clean :
for i in ${ALL}; \