summaryrefslogtreecommitdiff
path: root/net/rp-pppoe/patches/patch-aa
blob: 33d66d424df555d7fba496cac3fa289104fb7813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-aa,v 1.4 2001/01/30 20:33:25 tron Exp $

--- Makefile.in.orig	Mon Jan  8 15:58:35 2001
+++ Makefile.in	Tue Jan 30 21:26:42 2001
@@ -20,7 +20,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 mandir=@mandir@
-docdir=@prefix@/doc/rp-pppoe-$(VERSION)
+docdir=@prefix@/share/doc/rp-pppoe
 install=@INSTALL@
 install_dir=@INSTALL@ -d
 sbindir=@sbindir@
@@ -101,16 +101,16 @@
 	$(install) -m 644 pppoe-sniff.8 $(RPM_INSTALL_ROOT)$(mandir)/man8
 	-mkdir -p $(RPM_INSTALL_ROOT)$(mandir)/man5
 	$(install) -m 644 pppoe.conf.5 $(RPM_INSTALL_ROOT)$(mandir)/man5
-	-mkdir -p $(RPM_INSTALL_ROOT)/etc/ppp
-	@for i in pppoe.conf firewall-standalone firewall-masq ; do \
-		if [ ! -f $(RPM_INSTALL_ROOT)/etc/ppp/$$i ] ; then \
-			$(install) -m 644 $$i $(RPM_INSTALL_ROOT)/etc/ppp ; \
-		else \
-			echo "NOT overwriting existing $(RPM_INSTALL_ROOT)/etc/ppp/$$i" ;\
-			$(install) -m 644 $$i $(RPM_INSTALL_ROOT)/etc/ppp/$$i-$(VERSION) ;\
-		fi ;\
-	done
-	$(install) -m 644 pppoe-server-options $(RPM_INSTALL_ROOT)$(PPPOESERVER_PPPD_OPTIONS)
+#	-mkdir -p $(RPM_INSTALL_ROOT)/etc/ppp
+#	@for i in pppoe.conf firewall-standalone firewall-masq ; do \
+#		if [ ! -f $(RPM_INSTALL_ROOT)/etc/ppp/$$i ] ; then \
+#			$(install) -m 644 $$i $(RPM_INSTALL_ROOT)/etc/ppp ; \
+#		else \
+#			echo "NOT overwriting existing $(RPM_INSTALL_ROOT)/etc/ppp/$$i" ;\
+#			$(install) -m 644 $$i $(RPM_INSTALL_ROOT)/etc/ppp/$$i-$(VERSION) ;\
+#		fi ;\
+#	done
+#	$(install) -m 644 pppoe-server-options $(RPM_INSTALL_ROOT)$(PPPOESERVER_PPPD_OPTIONS)
 	@if [ -f /etc/redhat-release ] ; then \
 		echo "Looks like a Red Hat system; installing $(RPM_INSTALL_ROOT)/etc/rc.d/init.d/adsl" ; \
 		mkdir -p $(RPM_INSTALL_ROOT)/etc/rc.d/init.d ;\