summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/db3/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/db3/Makefile b/databases/db3/Makefile
index 70a44655d43e..dafc8b80d05e 100644
--- a/databases/db3/Makefile
+++ b/databases/db3/Makefile
@@ -35,7 +35,7 @@ CONFIGURE_ARGS= --enable-compat185 \
--target=${ARCH}-portbld-freebsd${OSREL}
pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
post-patch:
@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}