git: f9772d176717 - main - mail/postfix-current: Update to 3.9-20230924

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 27 Sep 2023 18:54:50 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f9772d176717f460b7342110dab86aa2393a5a93

commit f9772d176717f460b7342110dab86aa2393a5a93
Author:     Herbert J. Skuhra <herbert@gojira.at>
AuthorDate: 2023-09-27 16:44:39 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-09-27 18:52:14 +0000

    mail/postfix-current: Update to 3.9-20230924
    
    - Update to 3.9-20230924
    - Add FreeBSD 15 defines
    
    PR:             273784
---
 mail/postfix-current/Makefile                         |  3 +--
 mail/postfix-current/distinfo                         |  6 +++---
 mail/postfix-current/files/patch-makedefs             | 18 ++++++++++++++++++
 mail/postfix-current/files/patch-src_util_sys__defs.h | 11 +++++++++++
 4 files changed, 33 insertions(+), 5 deletions(-)

diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index f02fb4c3a247..43b625501eb5 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	postfix
-DISTVERSION=	3.8-20230213
-PORTREVISION=	1
+DISTVERSION=	3.9-20230924
 PORTEPOCH=	6
 CATEGORIES=	mail
 MASTER_SITES=	http://ftp.porcupine.org/mirrors/postfix-release/ \
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo
index 8b9e6d21364a..ded8a9873e47 100644
--- a/mail/postfix-current/distinfo
+++ b/mail/postfix-current/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676452005
-SHA256 (postfix/postfix-3.8-20230213.tar.gz) = b0cbd24d7f016111b0762f832904ecfcd46639f8a607f0ab7061870518e2283c
-SIZE (postfix/postfix-3.8-20230213.tar.gz) = 4822033
+TIMESTAMP = 1695833052
+SHA256 (postfix/postfix-3.9-20230924.tar.gz) = 6e41cc5ee6651fb3106d2cb8595b070feb7279d5b8139258ae3e08d11b7dfbd2
+SIZE (postfix/postfix-3.9-20230924.tar.gz) = 4876945
diff --git a/mail/postfix-current/files/patch-makedefs b/mail/postfix-current/files/patch-makedefs
new file mode 100644
index 000000000000..445f07ae8d0f
--- /dev/null
+++ b/mail/postfix-current/files/patch-makedefs
@@ -0,0 +1,18 @@
+--- makedefs.orig	2023-09-27 18:44:59 UTC
++++ makedefs
+@@ -343,6 +343,15 @@ case "$SYSTEM.$RELEASE" in
+ 		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+ 		: ${PLUGIN_LD="${CC} -shared"}
+ 		;;
++   FreeBSD.15*)	SYSTYPE=FREEBSD15
++		: ${CC=cc}
++		: ${SHLIB_SUFFIX=.so}
++		: ${SHLIB_CFLAGS=-fPIC}
++		: ${SHLIB_LD="${CC} -shared"' -Wl,-soname,${LIB}'}
++		: ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'}
++		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
++		: ${PLUGIN_LD="${CC} -shared"}
++		;;
+  DragonFly.*)	SYSTYPE=DRAGONFLY
+ 		;;
+   OpenBSD.2*)	SYSTYPE=OPENBSD2
diff --git a/mail/postfix-current/files/patch-src_util_sys__defs.h b/mail/postfix-current/files/patch-src_util_sys__defs.h
new file mode 100644
index 000000000000..80e5cd02c3eb
--- /dev/null
+++ b/mail/postfix-current/files/patch-src_util_sys__defs.h
@@ -0,0 +1,11 @@
+--- src/util/sys_defs.h.orig	2023-09-27 18:45:38 UTC
++++ src/util/sys_defs.h
+@@ -31,7 +31,7 @@
+     || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
+     || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
+     || defined(FREEBSD11) || defined(FREEBSD12) || defined(FREEBSD13) \
+-    || defined(FREEBSD14) \
++    || defined(FREEBSD14) || defined(FREEBSD15) \
+     || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
+     || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+     || defined(OPENBSD5) || defined(OPENBSD6) || defined(OPENBSD7) \