Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 1999 19:46:46 +0200 (CEST)
From:      girgen@partitur.se
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        billf@freebsd.org
Subject:   ports/12488: htdig's db shall compile with -pthreads
Message-ID:  <199907021746.TAA98285@elbas.partitur.se>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907021746.TAA98285>