1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Fix build on amd64.

A check for va_copy is missing in the configure script.
This commit is contained in:
Tilman Keskinoz 2004-05-05 18:51:55 +00:00
parent a7dc7bf6dd
commit a8ac122966
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108472
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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