Date: Sat, 23 Jan 2021 09:47:06 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562385 - in head/mail: postfix-current/files postfix/files Message-ID: <202101230947.10N9l6Ii097932@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Sat Jan 23 09:47:06 2021 New Revision: 562385 URL: https://svnweb.freebsd.org/changeset/ports/562385 Log: 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) Modified: head/mail/postfix-current/files/patch-makedefs head/mail/postfix-current/files/patch-src_util_sys__defs.h head/mail/postfix/files/patch-makedefs head/mail/postfix/files/patch-src_util_sys__defs.h Modified: head/mail/postfix-current/files/patch-makedefs ============================================================================== --- head/mail/postfix-current/files/patch-makedefs Sat Jan 23 09:41:12 2021 (r562384) +++ head/mail/postfix-current/files/patch-makedefs Sat Jan 23 09:47:06 2021 (r562385) @@ -1,10 +1,19 @@ ---- 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"} ;; + FreeBSD.13*) SYSTYPE=FREEBSD13 ++ : ${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"} ++ ;; ++ FreeBSD.14*) SYSTYPE=FREEBSD14 + : ${CC=cc} + : ${SHLIB_SUFFIX=.so} + : ${SHLIB_CFLAGS=-fPIC} Modified: head/mail/postfix-current/files/patch-src_util_sys__defs.h ============================================================================== --- head/mail/postfix-current/files/patch-src_util_sys__defs.h Sat Jan 23 09:41:12 2021 (r562384) +++ head/mail/postfix-current/files/patch-src_util_sys__defs.h Sat Jan 23 09:47:06 2021 (r562385) @@ -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) \ Modified: head/mail/postfix/files/patch-makedefs ============================================================================== --- head/mail/postfix/files/patch-makedefs Sat Jan 23 09:41:12 2021 (r562384) +++ head/mail/postfix/files/patch-makedefs Sat Jan 23 09:47:06 2021 (r562385) @@ -1,6 +1,6 @@ ---- makedefs.orig 2019-03-10 23:42:59 UTC +--- makedefs.orig 2021-01-16 15:10:00 UTC +++ makedefs -@@ -298,6 +298,33 @@ case "$SYSTEM.$RELEASE" in +@@ -298,6 +298,42 @@ case "$SYSTEM.$RELEASE" in : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} : ${PLUGIN_LD="${CC} -shared"} ;; @@ -23,6 +23,15 @@ + : ${PLUGIN_LD="${CC} -shared"} + ;; + FreeBSD.13*) SYSTYPE=FREEBSD13 ++ : ${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"} ++ ;; ++ FreeBSD.14*) SYSTYPE=FREEBSD14 + : ${CC=cc} + : ${SHLIB_SUFFIX=.so} + : ${SHLIB_CFLAGS=-fPIC} Modified: head/mail/postfix/files/patch-src_util_sys__defs.h ============================================================================== --- head/mail/postfix/files/patch-src_util_sys__defs.h Sat Jan 23 09:41:12 2021 (r562384) +++ head/mail/postfix/files/patch-src_util_sys__defs.h Sat Jan 23 09:47:06 2021 (r562385) @@ -1,11 +1,12 @@ ---- src/util/sys_defs.h.orig 2019-03-10 16:58:04 UTC +--- src/util/sys_defs.h.orig 2019-10-13 15:32:18 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(FREEBSD11) || defined(FREEBSD12) || defined(FREEBSD13) \ ++ || defined(FREEBSD14) \ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ || defined(OPENBSD5) || defined(OPENBSD6) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101230947.10N9l6Ii097932>