Bug 56551

Summary: databases/db{3,4,41} cannot build
Product: Ports & Packages Reporter: KONDOU, Kazuhiro <kazuhiro>
Component: Individual Port(s)Assignee: Norikatsu Shigemura <nork>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
file.diff none

Description KONDOU, Kazuhiro 2003-09-07 12:20:14 UTC
-pthread is already deleted.
but, configure script has -pthread option.

Fix: apply following patches.
How-To-Repeat: 
fails in `make configure'.
Comment 1 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-09-07 14:28:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nork

I'll handle this.
Comment 2 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-09-07 14:47:59 UTC
Hi db4/db41 maintainer.

	Is this commit ok?
	http://www.freebsd.org/cgi/query-pr.cgi?pr=56551

On Sun, 7 Sep 2003 20:18:12 +0900
"KONDOU, Kazuhiro" <kazuhiro@alib.jp> wrote:
> >Number:         56551
> >Category:       ports
> >Synopsis:       databases/db{3,4,41} cannot build
> >Fix:
> apply following patches.
> --- db3/Makefile.orig	Fri Feb 21 02:00:09 2003
> +++ db3/Makefile	Sun Sep  7 19:53:43 2003
> @@ -35,6 +35,7 @@
>  			--target=${ARCH}-portbld-freebsd${OSREL}
>  
>  pre-patch:
> +	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
>  	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
>  
>  post-patch:

	I'll change following line.
	@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
Comment 3 Matthias Andree 2003-09-08 15:12:44 UTC
I approve the @${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' 
${WRKSRC}/${CONFIGURE_SCRIPT}
variant for db4 and db41. For db3, it's ports@, so if it works, I doubt 
someone will object.

Please remember to Cc: me -- with config.log on ports using GNU autoconf 
-- 
on problem reports that pertain to the ports I maintain.
Comment 4 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-09-08 15:20:22 UTC
State Changed
From-To: open->closed

Committed, thanks!