Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2003 20:18:12 +0900
From:      "KONDOU, Kazuhiro" <kazuhiro@alib.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56551: databases/db{3,4,41} cannot build
Message-ID:  <20030907201812.6a06c45b.kazuhiro@alib.jp>
Resent-Message-ID: <200309071120.h87BKE8c067238@freefall.freebsd.org>

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

>Number:         56551
>Category:       ports
>Synopsis:       databases/db{3,4,41} cannot build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 07 04:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KONDOU, Kazuhiro
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD lilia.alib.jp 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Sep  6 14:08:48 JST 2003     root@:/usr/obj/usr/src/sys/REAH  i386 

>Description:

-pthread is already deleted.
but, configure script has -pthread option.

>How-To-Repeat:

fails in `make configure'.

>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:

--- db4/Makefile.orig	Fri Feb 21 20:14:58 2003
+++ db4/Makefile	Sun Sep  7 19:55:19 2003
@@ -46,5 +46,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+	@${REINPLACE_CMD} -e \
+		's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
 .include <bsd.port.mk>

--- db41/Makefile.orig	Sun Sep  7 20:10:18 2003
+++ db41/Makefile	Sun Sep  7 19:55:55 2003
@@ -39,5 +39,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+	@${REINPLACE_CMD} -e \
+		's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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