aboutsummaryrefslogtreecommitdiff
path: root/textproc/htdig/files/patch-ab
blob: 0205662e9ec75ae6e0e4bfe427ab4e51e36bc594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
From girgen@elbas.partitur.se Fri Jul  2 10:46:50 1999
Return-Path: <girgen@elbas.partitur.se>
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
Sender: girgen@elbas.partitur.se
Reply-To: girgen@partitur.se
To: FreeBSD-gnats-submit@freebsd.org
Cc: billf@freebsd.org
Subject: htdig's db shall compile with -pthreads
X-Send-Pr-Version: 3.2

>Number:         12488
>Category:       ports
>Synopsis:       textproc/htdig compiles with -lc_r, should be -pthreads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    billf
>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:  Fri Jul  2 11:03:28 PDT 1999
>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:
Responsible-Changed-From-To: freebsd-ports->billf 
Responsible-Changed-By: billf 
Responsible-Changed-When: Fri Jul 2 11:03:17 PDT 1999 
Responsible-Changed-Why:  
My port, my PR. 
>Unformatted: