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 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'mail/postfix-current/files/patch-makedefs') 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 ;; -- cgit v1.2.3