aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db46
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-09-08 22:20:15 +0800
committernork <nork@FreeBSD.org>2003-09-08 22:20:15 +0800
commit47e5658477cfd66a385b4811acaf2b83e8024f88 (patch)
treea6784c8b98e1c611ace67a3f642f350e619517e8 /databases/db46
parentdb9021864daf1f9debdb8f4939b9cb27eb1e15ce (diff)
downloadfreebsd-ports-gnome-47e5658477cfd66a385b4811acaf2b83e8024f88.tar.gz
freebsd-ports-gnome-47e5658477cfd66a385b4811acaf2b83e8024f88.tar.zst
freebsd-ports-gnome-47e5658477cfd66a385b4811acaf2b83e8024f88.zip
Fix build on recent current (by -pthread option is deprecated).
PR: ports/56551 Submitted by: KONDOU, Kazuhiro <kazuhiro@alib.jp> Approved by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Diffstat (limited to 'databases/db46')
-rw-r--r--databases/db46/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/db46/Makefile b/databases/db46/Makefile
index 6a85ea827853..0cf2516d0ee6 100644
--- a/databases/db46/Makefile
+++ b/databases/db46/Makefile
@@ -37,7 +37,7 @@ INSTALL_TARGET= install install_docs
.endif
post-patch:
- @${REINPLACE_CMD} -e \
- 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -Ee \
+ 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>