aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2003-09-07 16:56:24 +0800
committerbland <bland@FreeBSD.org>2003-09-07 16:56:24 +0800
commit8b326cd9a4c536923358fe2fd77ab53021ce4056 (patch)
tree45aef9a0f7d935aab8c35ab011a46cb8fdf023e2
parent0fcd6f6cad3c7a41195f16baef6a7a77087332e7 (diff)
downloadfreebsd-ports-gnome-8b326cd9a4c536923358fe2fd77ab53021ce4056.tar.gz
freebsd-ports-gnome-8b326cd9a4c536923358fe2fd77ab53021ce4056.tar.zst
freebsd-ports-gnome-8b326cd9a4c536923358fe2fd77ab53021ce4056.zip
Fix broken db3 configure on -CURRENT. -pthread -> ${PTHREAD_LIBS}
-rw-r--r--mail/evolution/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 88c07dc74e09..0d74237e16e5 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -65,6 +65,7 @@ PKGINSTALL= ${WRKDIR}/pkg-install
post-patch:
@${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${GREP} -l '<db.h>' | \
${XARGS} ${REINPLACE_CMD} -e 's|<db.h>|<db3/db.h>|g'
+ @${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${DB3_WRKSRC}/${DB3_CONFIGURE_SCRIPT}
# DB3 stuff. Ugly, I know, but that's life.
DB3_WRKSRC= ${WRKDIR}/db-3.1.17/build_unix