From owner-freebsd-ports Fri Jul 2 10:50: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A947514F0E for ; Fri, 2 Jul 1999 10:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA77331; Fri, 2 Jul 1999 10:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from elbas.partitur.se (www.cebox.se [193.219.246.222]) by hub.freebsd.org (Postfix) with ESMTP id 7618914F0E; Fri, 2 Jul 1999 10:46:48 -0700 (PDT) (envelope-from girgen@elbas.partitur.se) Received: (from girgen@localhost) by elbas.partitur.se (8.9.3/8.9.2) id TAA98285; Fri, 2 Jul 1999 19:46:46 +0200 (CEST) (envelope-from girgen) Message-Id: <199907021746.TAA98285@elbas.partitur.se> Date: Fri, 2 Jul 1999 19:46:46 +0200 (CEST) From: girgen@partitur.se Reply-To: girgen@partitur.se To: FreeBSD-gnats-submit@freebsd.org Cc: billf@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12488: htdig's db shall compile with -pthreads Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12488 >Category: ports >Synopsis: textproc/htdig compiles with -lc_r, should be -pthreads >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 2 10:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 3.2-STABLE i386 >Organization: Partitur >Environment: FreeBSD 3.2-STABLE i386 - ELF >Description: the version of Berkeley DB (from www.sleepycat.com, I think), that comes with the htdig source, shall be compiled with -pthreads, at least on ELF (didn't check aout). >How-To-Repeat: cd /usr/ports/textproc/htdig && make >Fix: Put this this patch in the patches dir as patch-ab: --- ../../../htdig.orig/work/htdig-3.1.1/db/dist/configure.in Wed Feb 17 06:03:41 1999 +++ db/dist/configure.in Wed Feb 24 14:59:30 1999 @@ -405,7 +405,7 @@ dnl libraries for threaded applications case "$host_os" in freebsd*) CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS" - LIBS="-lc_r";; + LIBS="-pthread";; irix*) CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";; osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; solaris*) CPPFLAGS="-D_REENTRANT $CPPFLAGS" --- ../../../htdig.orig/work/htdig-3.1.1/db/dist/configure Wed Feb 17 06:03:41 1999 +++ db/dist/configure Wed Feb 24 14:41:19 1999 @@ -3056,7 +3056,7 @@ case "$host_os" in freebsd*) CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS" - LIBS="-lc_r";; + LIBS="-pthread";; irix*) CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";; osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; solaris*) CPPFLAGS="-D_REENTRANT $CPPFLAGS" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message