From 3b6b904836792c3b3f287dbec2ca745e2f33e8cd Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Sat, 23 Jan 2021 09:47:06 +0000 Subject: mail/postfix{-current}: Fix build on 14.0-CURRENT [...] In file included from alldig.c:29: ./sys_defs.h:1259:2: error: "unsupported platform" #error "unsupported platform" ^ [...] Approved by: portmgr (build fix blanket) --- mail/postfix-current/files/patch-makedefs | 13 +++++++++++-- mail/postfix-current/files/patch-src_util_sys__defs.h | 5 +++-- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'mail/postfix-current/files') diff --git a/mail/postfix-current/files/patch-makedefs b/mail/postfix-current/files/patch-makedefs index a8c50c4056c1..f231b352c65f 100644 --- a/mail/postfix-current/files/patch-makedefs +++ b/mail/postfix-current/files/patch-makedefs @@ -1,6 +1,6 @@ ---- makedefs.orig 2020-05-11 14:36:53 UTC +--- makedefs.orig 2020-09-30 21:22:49 UTC +++ makedefs -@@ -328,6 +328,15 @@ case "$SYSTEM.$RELEASE" in +@@ -309,6 +309,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.14*) SYSTYPE=FREEBSD14 ++ : ${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 ;; diff --git a/mail/postfix-current/files/patch-src_util_sys__defs.h b/mail/postfix-current/files/patch-src_util_sys__defs.h index 19771738421e..4e0ff2f2c077 100644 --- a/mail/postfix-current/files/patch-src_util_sys__defs.h +++ b/mail/postfix-current/files/patch-src_util_sys__defs.h @@ -1,11 +1,12 @@ ---- src/util/sys_defs.h.orig 2020-05-13 15:03:59 UTC +--- src/util/sys_defs.h.orig 2020-05-21 13:34:23 UTC +++ src/util/sys_defs.h -@@ -30,7 +30,7 @@ +@@ -30,7 +30,8 @@ #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \ - || defined(FREEBSD11) || defined(FREEBSD12) \ + || defined(FREEBSD11) || defined(FREEBSD12) || defined(FREEBSD13) \ ++ || defined(FREEBSD14) \ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ || defined(OPENBSD5) || defined(OPENBSD6) \ -- cgit v1.2.3