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>
This commit is contained in:
Oliver Eikemeier 2004-03-19 00:37:50 +00:00
parent 1b9975b159
commit 381f77b86f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104559
4 changed files with 16 additions and 0 deletions

View file

@ -245,6 +245,10 @@ post-patch:
${WRKSRC}/servers/slapd/slapd.conf ${WRKSRC}/servers/slapd/slapd.conf
pre-configure: 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' \ @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \
${WRKSRC}/configure ${WRKSRC}/configure

View file

@ -255,6 +255,10 @@ post-patch:
${WRKSRC}/servers/slapd/slapd.conf ${WRKSRC}/servers/slapd/slapd.conf
pre-configure: 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' \ @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \
${WRKSRC}/configure ${WRKSRC}/configure

View file

@ -255,6 +255,10 @@ post-patch:
${WRKSRC}/servers/slapd/slapd.conf ${WRKSRC}/servers/slapd/slapd.conf
pre-configure: 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' \ @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \
${WRKSRC}/configure ${WRKSRC}/configure

View file

@ -255,6 +255,10 @@ post-patch:
${WRKSRC}/servers/slapd/slapd.conf ${WRKSRC}/servers/slapd/slapd.conf
pre-configure: 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' \ @${REINPLACE_CMD} -e '/^LIBTOOL=/s,\$$(top_builddir)/libtool,${LIBTOOL},g' \
${WRKSRC}/configure ${WRKSRC}/configure