summaryrefslogtreecommitdiff
path: root/net/mrtg/patches/patch-ac
blob: dfda960917e0e62ceeb46b27d75808100955fb88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.3 2002/10/23 10:42:21 martti Exp $

--- Makefile.in.orig	Sat Oct 19 11:05:02 2002
+++ Makefile.in	Wed Oct 23 12:15:20 2002
@@ -34,6 +34,7 @@
 subst:
 	$(PERL) -0777 -p -i~ -e 's@^#!\s*/\S*perl@#! $(PERL)@' $(top_srcdir)/bin/cfgmaker $(top_srcdir)/bin/indexmaker $(top_srcdir)/bin/mrtg
 	$(PERL) -0777 -p -i~ -e 's@GRAPHFMT="...";@GRAPHFMT="$(GDFORM_EXT)";@' $(top_srcdir)/bin/mrtg $(top_srcdir)/bin/indexmaker
+	$(PERL) -0777 -p -i~ -e "s@__PREFIX__@${prefix}@g" $(top_srcdir)/bin/cfgmaker $(top_srcdir)/bin/mrtg $(top_srcdir)/bin/indexmaker
 
 clean:
 	-rm bin/rateup