openbsd-ports/net/netatalk/patches/patch-etcpapd-makefile

21 lines
723 B
Plaintext

--- etc/papd/Makefile.orig Wed Oct 23 07:22:20 1996
+++ etc/papd/Makefile Fri Nov 19 18:13:17 1999
@@ -15,7 +15,7 @@
if [ x"${KRBDIR}" != x ]; then \
KRBLIBS="-lkrb -ldes"; \
KRBLIBDIRS="-L${KRBDIR}/lib"; \
- KRBINCPATH="-I${KRBDIR}/include"; \
+ KRBINCPATH="-I${KRBDIR}/include/kerberosIV"; \
KRBDEFS="-DKRB"; \
fi; \
${MAKE} ${MFLAGS} CC="${CC}" ADDLIBS="${ADDLIBS}" DEFS="${DEFS}" \
@@ -51,7 +51,7 @@
${CC} ${CFLAGS} ${LDFLAGS} -o papd ${OBJ} ${LIBDIRS} ${LIBS}
main.o : main.c
- ${CC} ${CFLAGS} -D_PATH_PAPDCONF=\"${ETCDIR}/papd.conf\" \
+ ${CC} ${CFLAGS} -D_PATH_PAPDCONF=\"/etc/netatalk/papd.conf\" \
-DVERSION=\"`cat ../../VERSION`\" \
${CPPFLAGS} -c main.c