diff options
| author | Juraj Lutter <otis@FreeBSD.org> | 2026-08-14 16:57:36 +0000 |
|---|---|---|
| committer | Juraj Lutter <otis@FreeBSD.org> | 2026-08-14 17:06:36 +0000 |
| commit | 9773228bf9e1dba332f7c39f0396870ddd0aee2f (patch) | |
| tree | a836f1939e69a22f78d778ec91e419e0bf3c3a72 | |
| parent | 70e81f820ce3cb3617b86c53830c14c4fb5682d5 (diff) | |
mail/postfix: Update to 3.11.6
- Update to 3.11.6
- Fix MONGO flavor
- Properly pass CFLAGS and LDFLAGS for mongo-c-driver, based on [1]
PR: 297519
(cherry picked from commit c01b34960fd5fbdc25249139e49f3c5a3baae1ef)
| -rw-r--r-- | mail/postfix/Makefile | 10 | ||||
| -rw-r--r-- | mail/postfix/distinfo | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 5e7013906981..838ef999dec0 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,5 +1,5 @@ PORTNAME= postfix -DISTVERSION= 3.11.5 +DISTVERSION= 3.11.6 PORTREVISION?= 0 PORTEPOCH= 1 CATEGORIES= mail @@ -110,6 +110,8 @@ OPTIONS_SLAVE= PGSQL OPTIONS_SLAVE= SASL .elif ${FLAVOR:U} == sqlite OPTIONS_SLAVE= SQLITE +.elif ${FLAVOR:U} == mongo +OPTIONS_SLAVE= MONGO .endif .if !empty(FLAVOR) && ${FLAVOR:U} != default OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options @@ -311,10 +313,10 @@ IGNORE= blocklistd is only supported on FreeBSD .endif .if ${PORT_OPTIONS:MMONGO} +USES+= pkgconfig DYN_EXT+= mongodb -POSTFIX_CCARGS+= -DHAS_MONGODB -I${LOCALBASE}/include/libmongoc-1.0 \ - -I${LOCALBASE}/include/libbson-1.0 -POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=-L${LOCALBASE}/lib -lmongoc-1.0 -lbson-1.0" +POSTFIX_CCARGS+= -DHAS_MONGODB `pkg-config --cflags mongoc2` +POSTFIX_DYN_AUXLIBS+= "AUXLIBS_MONGODB=`pkg-config --libs mongoc2`" .endif .if ${PORT_OPTIONS:MMYSQL} diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index 658a11d6952a..82ccd1137fb7 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1783368607 -SHA256 (postfix/postfix-3.11.5.tar.gz) = 4a6ab3d0e9390989fa201fc6c446045fc702c4e16e7a247c3ae261c9e9bee610 -SIZE (postfix/postfix-3.11.5.tar.gz) = 5287872 +TIMESTAMP = 1786708118 +SHA256 (postfix/postfix-3.11.6.tar.gz) = b9a748705b1cab0a4afcbe42f934c82a33b342ba3229017fb508c71700078d07 +SIZE (postfix/postfix-3.11.6.tar.gz) = 5289392 |
