aboutsummaryrefslogtreecommitdiff
path: root/databases/db4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db4/Makefile')
-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>