aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db45
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db45')
-rw-r--r--databases/db45/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/db45/Makefile b/databases/db45/Makefile
index 7d1e0b4d79b0..85151d77dfe2 100644
--- a/databases/db45/Makefile
+++ b/databases/db45/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}