pkgsrc/net/userppp/patches/patch-aa
ad 8849ff3582 - On second thought, put config files in ${PREFIX}/etc/ppp.
- Update man page references to match file locations.
2000-11-07 18:11:46 +00:00

16 lines
537 B
Text

$NetBSD: patch-aa,v 1.2 2000/11/07 18:11:47 ad Exp $
--- Makefile.orig Tue Nov 7 05:45:45 2000
+++ Makefile Tue Nov 7 16:42:17 2000
@@ -1,8 +1,9 @@
SUBDIR+=libhack ppp pppctl
-EXAMPLES=/usr/share/examples/ppp
+EXAMPLES=${PREFIX}/share/examples/ppp
+MYCONFDIR=${PREFIX}/etc/ppp
.include <bsd.subdir.mk>
afterinstall:
- if [ ! -d /etc/ppp ]; then mkdir -p /etc/ppp; chmod 755 /etc/ppp; fi
+ if [ ! -d {$MYCONFDIR} ]; then mkdir -p ${MYCONFDIR}; chmod 755 ${MYCONFDIR}; fi
mkdir -p $(EXAMPLES)
for cfg in examples/ppp/*; \
do \