diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-15 16:22:19 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-15 16:22:19 +0000 |
commit | aa7063c8854f49a6d9b04e13771bbf1f6f030093 (patch) | |
tree | 3fe663ea69b7c233d68bcb9d4d1d0db7baa42b09 /net-mgmt | |
parent | 3935f9901944c145f095173d6262e2444fd4ef2e (diff) | |
download | ports-aa7063c8854f49a6d9b04e13771bbf1f6f030093.tar.gz ports-aa7063c8854f49a6d9b04e13771bbf1f6f030093.zip |
Notes
Diffstat (limited to 'net-mgmt')
-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 7865b52e6e61..8345aca426fc 100644 --- a/net-mgmt/zabbix/Makefile +++ b/net-mgmt/zabbix/Makefile @@ -72,6 +72,11 @@ post-patch: @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_server.conf .endif +pre-configure: + @if ldd ${LOCALBASE}/lib/libsqlite3.so 2>&- |${GREP} -q thr;then\ + ${REINPLACE_CMD} -e 's|-lsqlite3|-lsqlite3 ${PTHREAD_LIBS}|'\ + ${WRKSRC}/configure; fi + .if ${ARCH} == "amd64" post-configure: ${ECHO_CMD} "#define HAVE_VA_COPY 1" >> ${WRKSRC}/include/config.h diff --git a/net-mgmt/zabbix2/Makefile b/net-mgmt/zabbix2/Makefile index 7865b52e6e61..8345aca426fc 100644 --- a/net-mgmt/zabbix2/Makefile +++ b/net-mgmt/zabbix2/Makefile @@ -72,6 +72,11 @@ post-patch: @${ECHO} 'DisablePinger=yes' >> ${WRKSRC}/misc/conf/zabbix_server.conf .endif +pre-configure: + @if ldd ${LOCALBASE}/lib/libsqlite3.so 2>&- |${GREP} -q thr;then\ + ${REINPLACE_CMD} -e 's|-lsqlite3|-lsqlite3 ${PTHREAD_LIBS}|'\ + ${WRKSRC}/configure; fi + .if ${ARCH} == "amd64" post-configure: ${ECHO_CMD} "#define HAVE_VA_COPY 1" >> ${WRKSRC}/include/config.h |