patch-src_Makefile_in 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. $OpenBSD: patch-src_Makefile_in,v 1.11 2017/04/30 17:52:15 landry Exp $
  2. --- src/Makefile.in.orig Mon Jan 23 10:54:27 2017
  3. +++ src/Makefile.in Sun Feb 26 20:27:29 2017
  4. @@ -80,7 +80,7 @@ POST_UNINSTALL = :
  5. build_triplet = @build@
  6. host_triplet = @host@
  7. @BUILD_WITH_OWN_LIBOCONFIG_TRUE@am__append_1 = liboconfig
  8. -@BUILD_FEATURE_DAEMON_TRUE@am__append_2 = -DPIDFILE='"${localstatedir}/run/${PACKAGE_NAME}.pid"'
  9. +@BUILD_FEATURE_DAEMON_TRUE@am__append_2 = -DPIDFILE='"${localstatedir}/${PACKAGE_NAME}/${PACKAGE_NAME}.pid"'
  10. check_PROGRAMS = test_format_graphite$(EXEEXT) $(am__EXEEXT_1) \
  11. test_utils_latency$(EXEEXT) test_utils_cmds$(EXEEXT) \
  12. test_utils_vl_lookup$(EXEEXT) test_utils_mount$(EXEEXT) \
  13. @@ -2698,7 +2698,7 @@ PLUGIN_LDFLAGS = -module -avoid-version -export-symbol
  14. AM_CPPFLAGS = -I$(srcdir)/daemon -DPREFIX='"${prefix}"' \
  15. -DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"' \
  16. -DLOCALSTATEDIR='"${localstatedir}"' \
  17. - -DPKGLOCALSTATEDIR='"${localstatedir}/lib/${PACKAGE_NAME}"' \
  18. + -DPKGLOCALSTATEDIR='"${localstatedir}/${PACKAGE_NAME}"' \
  19. $(am__append_2) -DPLUGINDIR='"${pkglibdir}"' \
  20. -DPKGDATADIR='"${pkgdatadir}"'
  21. LOG_COMPILER = env VALGRIND="@VALGRIND@" $(abs_top_srcdir)/testwrapper.sh
  22. @@ -5709,13 +5709,8 @@ uninstall-man: uninstall-man1 uninstall-man5
  23. @BUILD_PLUGIN_WRITE_PROMETHEUS_TRUE@ $(AM_V_PROTOC_C)$(PROTOC_C) -I$(top_srcdir)/proto --c_out=$(builddir) $(top_srcdir)/proto/prometheus.proto
  24. install-exec-hook:
  25. - $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
  26. - if test -e $(DESTDIR)$(sysconfdir)/collectd.conf; \
  27. - then \
  28. - $(INSTALL) -m 0640 collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf.pkg-orig; \
  29. - else \
  30. - $(INSTALL) -m 0640 collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf; \
  31. - fi; \
  32. + $(mkinstalldirs) ${PREFIX}/share/examples
  33. + $(INSTALL) -m 0644 collectd.conf ${PREFIX}/share/examples/collectd.conf; \
  34. $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
  35. $(INSTALL) -m 0644 $(srcdir)/types.db $(DESTDIR)$(pkgdatadir)/types.db;
  36. $(INSTALL) -m 0644 $(srcdir)/postgresql_default.conf \