Subject: Re: pkg/32089: Bug in top level configure script for dspam 3.6.1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Adrian Portelli <adrianp@stindustries.net>
List: pkgsrc-bugs
Date: 11/18/2005 10:43:03
The following reply was made to PR pkg/32089; it has been noted by GNATS.

From: Adrian Portelli <adrianp@stindustries.net>
To: ahorn@deorth.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/32089: Bug in top level configure script for dspam 3.6.1
Date: Fri, 18 Nov 2005 10:40:58 +0000

 Hi,
 
 I'm trying to hunt down which test case passed when you modified the
 ./configure script.  I did a "make patch" then replaced all instances of
 -pthread with -lpthread.  The result was the following changes:
 
 --- configure.orig      2005-11-18 10:19:01.000000000 +0000
 +++ configure   2005-11-18 10:21:00.000000000 +0000
 @@ -20904,7 +20904,7 @@
  echo $ECHO_N "checking how you like your pthreads... $ECHO_C" >&6
  pthreads_success="no"
 
 -LIBS="$ds_pthreads_save_LIBS -pthread"
 +LIBS="$ds_pthreads_save_LIBS -lpthread"
 
  if test "$cross_compiling" = yes; then
    { { echo "$as_me:$LINENO: error: cannot run test program while cross
 compiling
 @@ -20946,9 +20946,9 @@
    (exit $ac_status); }; }; then
 
      pthreads_success="yes"
 -    ds_pthreads_LIBS="-pthread"
 -    echo "$as_me:$LINENO: result: -pthread" >&5
 -echo "${ECHO_T}-pthread" >&6
 +    ds_pthreads_LIBS="-lpthread"
 +    echo "$as_me:$LINENO: result: -lpthread" >&5
 +echo "${ECHO_T}-lpthread" >&6
 
  else
    echo "$as_me: program exited with status $ac_status" >&5
 
 After this and a "make configure" dspam still did not detect pth properly.
 
 Was there anything else you did ?
 Could you perhaps send through a diff of your modified ./configure ?
 
 Also, just to make sure were on the same page you're running
 pth-2.0.0nb2, right ?
 
 thanks,
 
 adrian.