summaryrefslogtreecommitdiff
path: root/net/userppp/patches/patch-aa
diff options
context:
space:
mode:
authorad <ad@pkgsrc.org>2000-11-07 18:11:46 +0000
committerad <ad@pkgsrc.org>2000-11-07 18:11:46 +0000
commit8849ff35826cda0e5ecf0bf8126a69f460696e6c (patch)
treec7d6e3dc32d1d96e0ac6362f5924b99c870ee758 /net/userppp/patches/patch-aa
parentbe5633e83d146e73d65fd8dabdc2f338ed8824d3 (diff)
downloadpkgsrc-8849ff35826cda0e5ecf0bf8126a69f460696e6c.tar.gz
- On second thought, put config files in ${PREFIX}/etc/ppp.
- Update man page references to match file locations.
Diffstat (limited to 'net/userppp/patches/patch-aa')
-rw-r--r--net/userppp/patches/patch-aa15
1 files changed, 10 insertions, 5 deletions
diff --git a/net/userppp/patches/patch-aa b/net/userppp/patches/patch-aa
index 2fd12e4eaa9..1969d33a89d 100644
--- a/net/userppp/patches/patch-aa
+++ b/net/userppp/patches/patch-aa
@@ -1,11 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/11/07 17:26:58 ad Exp $
+$NetBSD: patch-aa,v 1.2 2000/11/07 18:11:47 ad Exp $
---- Makefile.orig Tue Nov 7 15:27:16 2000
-+++ Makefile Tue Nov 7 15:27:25 2000
-@@ -1,5 +1,5 @@
+--- 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 /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 \