diff options
author | eik <eik@FreeBSD.org> | 2004-03-19 00:37:50 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-03-19 00:37:50 +0000 |
commit | 6f83e44b1fe7f070a4efd61147a0e54c6568cafa (patch) | |
tree | de713b39f4cba9ffe740aee6edf866619abd32dd /net | |
parent | 5f983e7da66cfcdca6fcf16fdbe8a1cddeb427c4 (diff) | |
download | FreeBSD-ports-6f83e44b1fe7f070a4efd61147a0e54c6568cafa.zip FreeBSD-ports-6f83e44b1fe7f070a4efd61147a0e54c6568cafa.tar.gz |
Temporarily disable building when a bind port with PORT_REPLACES_BASE_BIND installed
They overwrite /usr/include/netdb.h and give a wrong definition for `h_errno' when
_REENTRANT is defined. This causes link errors where `__h_errno' is undefined.
This should affect MySQL, Python and Apache too.
PR: 64419
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/openldap21-server/Makefile | 4 | ||||
-rw-r--r-- | net/openldap22-server/Makefile | 4 | ||||
-rw-r--r-- | net/openldap23-server/Makefile | 4 | ||||
-rw-r--r-- | net/openldap24-server/Makefile | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/net/openldap21-server/Makefile b/net/openldap21-server/Makefile index 94bb410..6b91444 100644 --- a/net/openldap21-server/Makefile +++ b/net/openldap21-server/Makefile @@ -245,6 +245,10 @@ post-patch: ${WRKSRC}/servers/slapd/slapd.conf pre-configure: + @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \ + ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ + ${FALSE}; \ + fi @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \ ${WRKSRC}/configure diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile index cea180c..321e79b 100644 --- a/net/openldap22-server/Makefile +++ b/net/openldap22-server/Makefile @@ -255,6 +255,10 @@ post-patch: ${WRKSRC}/servers/slapd/slapd.conf pre-configure: + @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \ + ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ + ${FALSE}; \ + fi @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \ ${WRKSRC}/configure diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile index cea180c..321e79b 100644 --- a/net/openldap23-server/Makefile +++ b/net/openldap23-server/Makefile @@ -255,6 +255,10 @@ post-patch: ${WRKSRC}/servers/slapd/slapd.conf pre-configure: + @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \ + ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ + ${FALSE}; \ + fi @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \ ${WRKSRC}/configure diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index cea180c..321e79b 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -255,6 +255,10 @@ post-patch: ${WRKSRC}/servers/slapd/slapd.conf pre-configure: + @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \ + ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \ + ${FALSE}; \ + fi @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \ ${WRKSRC}/configure |