diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-03-19 00:37:50 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-03-19 00:37:50 +0000 |
commit | 381f77b86fa670c3a1b7f03659ce647f2bf59b03 (patch) | |
tree | 56bdb092a962b59eebbc5d53782e5d82379cce02 /net/openldap22-server | |
parent | - Update to gcc-3.3.3 (diff) |
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/openldap22-server')
-rw-r--r-- | net/openldap22-server/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile index cea180c9f2df..321e79b4704a 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 |