diff options
Diffstat (limited to 'net/mrtg/patches')
-rw-r--r-- | net/mrtg/patches/patch-aa | 31 | ||||
-rw-r--r-- | net/mrtg/patches/patch-ab | 20 |
2 files changed, 19 insertions, 32 deletions
diff --git a/net/mrtg/patches/patch-aa b/net/mrtg/patches/patch-aa index 52db1499814..e9b3b68f731 100644 --- a/net/mrtg/patches/patch-aa +++ b/net/mrtg/patches/patch-aa @@ -1,35 +1,22 @@ ---- Makefile.orig Sat Oct 25 20:00:59 1997 -+++ Makefile Sat Dec 6 09:33:47 1997 -@@ -5,17 +5,17 @@ - SHELL=/bin/sh +--- Makefile.orig Mon Jul 13 13:02:23 1998 ++++ Makefile Mon Jul 13 13:04:02 1998 +@@ -6,16 +6,16 @@ # GD_INCLUDE # The path to the include files for the gd graphics library. --#GD_INCLUDE=/usr/local/include/gd + #GD_INCLUDE=/usr/local/include/gd -GD_INCLUDE=gd1.2 -+GD_INCLUDE=/usr/local/include/gd -+#GD_INCLUDE=gd1.2 ++GD_INCLUDE=${PREFIX}/include/gd # GD_LIB # The path to the gd graphics library: libgd.a --#GD_LIB=/usr/local/lib + #GD_LIB=/usr/local/lib -GD_LIB=gd1.2 -+GD_LIB=/usr/local/lib -+#GD_LIB=gd1.2 ++GD_LIB=${PREFIX}/lib # Where is perl 5 on this machine --# PERL=/usr/local/bin/perl + # PERL=/usr/local/bin/perl -PERL=/usr/local/gnu/bin/perl5 -+PERL=/usr/local/bin/perl -+#PERL=/usr/local/gnu/bin/perl5 ++PERL=${PREFIX}/bin/perl # CC -@@ -26,7 +26,7 @@ - # CFLAGS - # Enter '-g' to include debugging info, or '-O2' to optimize - # for gcc --CFLAGS=-g -O -Wall -+CFLAGS+=-Wall - - # for sparcworks - #CFLAGS=-g diff --git a/net/mrtg/patches/patch-ab b/net/mrtg/patches/patch-ab index 8831292ca28..9e6e6131902 100644 --- a/net/mrtg/patches/patch-ab +++ b/net/mrtg/patches/patch-ab @@ -1,11 +1,11 @@ ---- mrtg.cfg-dist.orig Fri Oct 24 21:35:55 1997 -+++ mrtg.cfg-dist Sat Dec 6 09:34:48 1997 -@@ -21,7 +21,7 @@ +--- mrtg.orig Mon Jul 13 13:17:55 1998 ++++ mrtg Mon Jul 13 13:19:52 1998 +@@ -54,7 +54,7 @@ + } + die "ERROR: Can\'t find location of mrtg executable\n" + unless $main::binpath; +- unshift (@INC,$main::binpath); ++ $main::binpath .= "/../libexec" + } - # Where should the logfiles, and webpages be created? - --# WorkDir: /usr/tardis/pub/www/stats/mrtg -+WorkDir: /usr/local/www/data/mrtg - - # -------------------------- - # Optional Global Parameters + ### |