--- examples/rrdcached/Makefile.in.orig	2022-03-14 14:29:40 UTC
+++ examples/rrdcached/Makefile.in
@@ -368,7 +368,7 @@ target_vendor = @target_vendor@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-examplesdir = $(pkgdatadir)/examples/rrdcached
+examplesdir = $(datadir)/examples/rrdtool/rrdcached
 examples_SCRIPTS = rrdcached-size.pl
 examples_DATA = RRDCached.pm
 EXTRA_DIST = $(examples_DATA) $(examples_SCRIPTS)
