summaryrefslogtreecommitdiff
path: root/net/mrtg/patches/patch-ac
blob: a047faea3a7e3c71410e980a7edc46e890cef286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.2 2002/09/30 09:12:14 martti Exp $

--- Makefile.in.orig	Wed Jul 31 01:32:07 2002
+++ Makefile.in	Tue Sep 24 15:43:19 2002
@@ -34,6 +34,7 @@
 subst:
 	$(PERL) -0777 -pi -e 's@^#!\s*/\S*perl@#! $(PERL)@' $(top_srcdir)/bin/cfgmaker $(top_srcdir)/bin/indexmaker $(top_srcdir)/bin/mrtg
 	$(PERL) -0777 -pi -e 's@GRAPHFMT="...";@GRAPHFMT="$(GDFORM_EXT)";@' $(top_srcdir)/bin/mrtg $(top_srcdir)/bin/indexmaker
+	$(PERL) -0777 -pi -e "s@__PREFIX__@${prefix}@g" $(top_srcdir)/bin/cfgmaker $(top_srcdir)/bin/mrtg $(top_srcdir)/bin/indexmaker
 
 clean:
 	-rm bin/rateup