git: 70780071b212 - main - mail/postfix-current: Fix build on 16-CURRENT

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Sun, 05 Oct 2025 13:00:07 UTC
The branch main has been updated by otis:

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

commit 70780071b212207547bd6fbdb271e69b43ad27f0
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-10-05 12:59:08 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-10-05 12:59:08 +0000

    mail/postfix-current: Fix build on 16-CURRENT
    
    Add a patch to makedefs file that slipped through before.
    Not bumping PORTREVISION this time.
---
 mail/postfix-current/files/patch-makedefs | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/mail/postfix-current/files/patch-makedefs b/mail/postfix-current/files/patch-makedefs
index 445f07ae8d0f..2890f4eb24c1 100644
--- a/mail/postfix-current/files/patch-makedefs
+++ b/mail/postfix-current/files/patch-makedefs
@@ -1,6 +1,6 @@
---- makedefs.orig	2023-09-27 18:44:59 UTC
+--- makedefs.orig	2025-01-03 18:19:26 UTC
 +++ makedefs
-@@ -343,6 +343,15 @@ case "$SYSTEM.$RELEASE" in
+@@ -351,6 +351,24 @@ case "$SYSTEM.$RELEASE" in
  		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
  		: ${PLUGIN_LD="${CC} -shared"}
  		;;
@@ -12,6 +12,15 @@
 +		: ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'}
 +		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
 +		: ${PLUGIN_LD="${CC} -shared"}
++		;;
++   FreeBSD.16*)	SYSTYPE=FREEBSD16
++		: ${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
  		;;