aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
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
parenta7dc7bf6ddbd4be7989f79b00bc05a7b86c5b314 (diff)
downloadports-a8ac1229664afe4daf31d344c5e411c6b982d437.tar.gz
ports-a8ac1229664afe4daf31d344c5e411c6b982d437.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix/Makefile5
-rw-r--r--net-mgmt/zabbix2/Makefile5
2 files changed, 10 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
diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile
index 85a6be806e0b..aed64fbd6b47 100644
--- a/net-mgmt/zabbix2/Makefile
+++ b/net-mgmt/zabbix2/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