summaryrefslogtreecommitdiff
path: root/databases/rrdtool/patches/patch-al
blob: 5a85c3245cf4494b69c7390a5870452430a47153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-al,v 1.5 2005/07/04 22:53:39 wulf Exp $

--- examples/Makefile.in.orig	2005-06-17 11:07:15.000000000 +0200
+++ examples/Makefile.in
@@ -213,7 +213,7 @@ EXTRA_DIST = cgi-demo.cgi.in piped-demo.
 	stripes.pl.in bigtops.pl.in minmax.pl.in 4charts.pl.in
 
 EXPREFIX := $(shell echo "@prefix@" | grep rrd >/dev/null || echo "rrdtool-@VERSION@/")
-examplesdir = $(prefix)/$(EXPREFIX)examples
+examplesdir = $(prefix)/share/examples/rrdtool
 examples_SCRIPTS = cgi-demo.cgi piped-demo.pl shared-demo.pl \
 	stripes.pl bigtops.pl minmax.pl 4charts.pl
 
@@ -229,9 +229,9 @@ $(srcdir)/Makefile.in:  $(srcdir)/Makefi
 	      exit 1;; \
 	  esac; \
 	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  examples/Makefile'; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  examples/Makefile'; \
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  examples/Makefile
+	  $(AUTOMAKE) --foreign  examples/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 	@case '$?' in \