f01010c9d3
NetBSD 9 provides its own popcount() that conflicts with zabbix's function of the same name. Reported by and workardound suggested by: wiz
15 lines
786 B
Text
15 lines
786 B
Text
$NetBSD: patch-src_zabbix__server_Makefile.in,v 1.1 2023/02/22 21:45:17 otis Exp $
|
|
|
|
Install config file into component's example directory.
|
|
|
|
--- src/zabbix_server/Makefile.in.orig 2023-02-01 07:20:02.588795121 +0000
|
|
+++ src/zabbix_server/Makefile.in
|
|
@@ -1136,7 +1136,7 @@ install-data-hook:
|
|
$(MKDIR_P) "$(DESTDIR)$(EXTERNAL_SCRIPTS_PATH)"
|
|
$(MKDIR_P) "$(DESTDIR)$(ALERT_SCRIPTS_PATH)"
|
|
$(MKDIR_P) "$(DESTDIR)$(LOAD_MODULE_PATH)"
|
|
- test -f "$(DESTDIR)$(SERVER_CONFIG_FILE)" || cp "../../conf/zabbix_server.conf" "$(DESTDIR)$(SERVER_CONFIG_FILE)"
|
|
+ $(INSTALL_DATA) "../../conf/zabbix_server.conf" "$(DESTDIR)/${PREFIX}/share/examples/%%PKGBASE%%"
|
|
|
|
# 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.
|