aboutsummaryrefslogtreecommitdiff
path: root/databases/db41/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db41/Makefile')
-rw-r--r--databases/db41/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/db41/Makefile b/databases/db41/Makefile
index 7d1e0b4d79b0..85151d77dfe2 100644
--- a/databases/db41/Makefile
+++ b/databases/db41/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ARGS= --enable-compat185 \
--target=$(ARCH)-unknown-freebsd$(OSREL)
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
post-patch:
@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}