Date: Sat, 05 Jun 2004 12:16:05 -0700 From: Sean McNeil <sean@mcneil.com> To: matthias.andree@gmx.de, freebsd-ports@freebsd.org Subject: post-patch blues with db3, db4, db41 Message-ID: <1086462964.42167.5.camel@server.mcneil.com>
next in thread | raw e-mail | index | archive | help
Hi, There are post-patch targets for these ports that are causing issues with the libraries built. The target: post-patch: @${REINPLACE_CMD} -Ee \ 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} causes the library to be linked with libpthread.so. This is a dependency that we do not want. It will in turn cause issues with nss_ldap and db doesn't use any threading. It is thread safe, but that doesn't mean it should be linked with pthread. I took out that target from my build of db41 and all is well for me. With it in, nss_ldap ends up causing all sorts of bad things to happen because it uses db41 (via openldap and sasl) and it in turn pulls in pthread when it shouldn't. Could this target be removed from the ports mentioned? Cheers, Sean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1086462964.42167.5.camel>