diff options
author | arved <arved@FreeBSD.org> | 2004-05-05 18:51:55 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-05-05 18:51:55 +0000 |
commit | 9f856e391203b9c1d4f61e6280a8d34c9e93624d (patch) | |
tree | 19a02fe9f941ecf014a31fe555c1438da7a78158 | |
parent | 4f8a8a01fc3dee9f06308647be1ed7dbf95d1338 (diff) | |
download | FreeBSD-ports-9f856e391203b9c1d4f61e6280a8d34c9e93624d.zip FreeBSD-ports-9f856e391203b9c1d4f61e6280a8d34c9e93624d.tar.gz |
Fix build on amd64.
A check for va_copy is missing in the configure script.
-rw-r--r-- | net-mgmt/zabbix/Makefile | 5 | ||||
-rw-r--r-- | net-mgmt/zabbix2/Makefile | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/net-mgmt/zabbix/Makefile b/net-mgmt/zabbix/Makefile index 85a6be8..aed64fb 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 85a6be8..aed64fb 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 |