blob: 1969d33a89d9a28975e745a8aa3b1060a2c71787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$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 \
|