summaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix/Makefile
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-05-05 18:51:55 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-05-05 18:51:55 +0000
commita8ac1229664afe4daf31d344c5e411c6b982d437 (patch)
tree442550b5ff044aaf5925a7695bfd44a68cb4360a /net-mgmt/zabbix/Makefile
parentFix localized helpcontents. somefiles are missing. (diff)
Fix build on amd64.
A check for va_copy is missing in the configure script.
Notes
Notes: svn path=/head/; revision=108472
Diffstat (limited to 'net-mgmt/zabbix/Makefile')
-rw-r--r--net-mgmt/zabbix/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-mgmt/zabbix/Makefile b/net-mgmt/zabbix/Makefile
index 85a6be806e0b..aed64fbd6b47 100644
--- a/net-mgmt/zabbix/Makefile
+++ b/net-mgmt/zabbix/Makefile
@@ -86,6 +86,11 @@ post-patch:
.endif
.endif # ZABBIX_AGENT_ONLY
+.if ${ARCH} == "amd64"
+post-configure:
+ ${ECHO_CMD} "#define HAVE_VA_COPY 1" >> ${WRKSRC}/include/config.h
+.endif
+
do-install:
.for FILE in ${ZABBIX_BINARIES}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${FILE} ${PREFIX}/bin