aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2026-08-18 17:02:15 +0000
committerJuraj Lutter <otis@FreeBSD.org>2026-08-18 17:02:34 +0000
commit0ad72042dadca9988eb250c45bd6236900849e33 (patch)
treebcb50c2b2050692de988158c2f9733ffb1daab29
parent18d6180a3f6ef0f78fd248fa264ad037026db3f8 (diff)
mail/postfix-current: Fix MONGO flavor
Fix MONGO flavor by depending on libbson and mongo-c-driver contained in quarterly branch. This is a direct commit to 2026Q3
-rw-r--r--mail/postfix-current/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index b8104a969cf7..521add43b949 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -316,10 +316,10 @@ IGNORE= blocklistd is only supported on FreeBSD
.endif
.if ${PORT_OPTIONS:MMONGO}
-USES+= pkgconfig
DYN_EXT+= mongodb
-POSTFIX_CCARGS+= -DHAS_MONGODB `pkg-config --cflags mongoc2`
-POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=`pkg-config --libs mongoc2`"
+POSTFIX_CCARGS+= -DHAS_MONGODB -I${LOCALBASE}/include/libbson-1.0 \
+ -I${LOCALBASE}/include/libmongoc-1.0
+POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=-L${LOCALBASE}/lib -lbson-1.0 -lmongoc-1.0"
.endif
.if ${PORT_OPTIONS:MMYSQL}