blob: 142e4ca5606e061334e15ebe0d7193d43a2714e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.3 2007/08/25 09:00:45 obache 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=${PKG_SYSCONFDIR}
.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 \
|