From owner-freebsd-ports@FreeBSD.ORG Sat Jun 5 12:16:06 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7672F16A4CE for ; Sat, 5 Jun 2004 12:16:06 -0700 (PDT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C15843D1F for ; Sat, 5 Jun 2004 12:16:06 -0700 (PDT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id DAED4FD1D8; Sat, 5 Jun 2004 12:16:05 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19663-04; Sat, 5 Jun 2004 12:16:05 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 26CBBFD1D5; Sat, 5 Jun 2004 12:16:05 -0700 (PDT) From: Sean McNeil To: matthias.andree@gmx.de, freebsd-ports@freebsd.org Content-Type: text/plain Message-Id: <1086462964.42167.5.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 05 Jun 2004 12:16:05 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Subject: post-patch blues with db3, db4, db41 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 19:16:06 -0000 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