summaryrefslogtreecommitdiff
path: root/net/mrtg/patches/patch-ac
blob: e5b20ff96727e82ee956021a9d759ddb1835d5bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.4 2003/10/05 12:02:52 martti Exp $

--- Makefile.in.orig	Fri Sep 12 00:14:17 2003
+++ Makefile.in	Sun Oct  5 12:58:33 2003
@@ -38,6 +38,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