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