blob: bc432831788f98e2547a1e113d160447c2ad2a76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_zabbix__agent_Makefile.in,v 1.2 2018/11/12 10:51:34 he Exp $
Install config files in example dir.
--- src/zabbix_agent/Makefile.in.orig 2017-05-05 14:51:00.000000000 +0000
+++ src/zabbix_agent/Makefile.in
@@ -934,7 +934,7 @@ uninstall-am: uninstall-sbinPROGRAMS
install-data-hook:
$(MKDIR_P) "$(DESTDIR)@AGENT_CONFIG_FILE@.d"
$(MKDIR_P) "$(DESTDIR)@LOAD_MODULE_PATH@"
- test -f "$(DESTDIR)@AGENT_CONFIG_FILE@" || cp "../../conf/zabbix_agentd.conf" "$(DESTDIR)@AGENT_CONFIG_FILE@"
+ cp "../../conf/zabbix_agentd.conf" "$(DESTDIR)${PREFIX}/share/examples/zabbix"
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
|