mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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:
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
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue