diff options
Diffstat (limited to 'net/mrtg/patches/patch-ac')
-rw-r--r-- | net/mrtg/patches/patch-ac | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/net/mrtg/patches/patch-ac b/net/mrtg/patches/patch-ac index 3bab845c44b..0a0a519c453 100644 --- a/net/mrtg/patches/patch-ac +++ b/net/mrtg/patches/patch-ac @@ -1,13 +1,14 @@ -$NetBSD: patch-ac,v 1.6 2004/12/31 10:08:42 minskim Exp $ +$NetBSD: patch-ac,v 1.7 2004/12/31 10:44:27 minskim Exp $ --- Makefile.in.orig 2004-08-08 04:49:14.000000000 -0500 +++ Makefile.in -@@ -27,7 +27,7 @@ LIBS = @LIBS@ - INSTALL = @INSTALL@ - MKINSTALLDIRS = $(SHELL) $(top_srcdir)/mkinstalldirs +@@ -36,8 +36,8 @@ bin/rateup.o: $(top_srcdir)/src/rateup.c + $(CC) $(CPPFLAGS) $(CFLAGS) -c $(top_srcdir)/src/rateup.c -o bin/rateup.o --all: bin/rateup subst -+all: bin/rateup + 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 - bin/rateup: bin/rateup.o - LD_RUN_PATH=$(LD_RUN_PATH) $(CC) bin/rateup.o -o bin/rateup $(LDFLAGS) $(LIBS) + clean: + -rm -f bin/rateup |