aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db4
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/db4
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/db4')
-rw-r--r--databases/db4/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index 26513a536341..a3a69bca9bbb 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -44,7 +44,7 @@ post-install:
.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>