ports/56551: databases/db{3,4,41} cannot build
KONDOU, Kazuhiro
kazuhiro at alib.jp
Sun Sep 7 11:20:18 UTC 2003
>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:
More information about the freebsd-ports-bugs
mailing list