diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2021-01-23 09:47:06 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2021-01-23 09:47:06 +0000 |
commit | 3b6b904836792c3b3f287dbec2ca745e2f33e8cd (patch) | |
tree | 1f20123aa2c98f72cd8511511b92ed6af3da8da4 /mail/postfix/files | |
parent | - Update WWW (diff) |
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)
Notes
Notes:
svn path=/head/; revision=562385
Diffstat (limited to 'mail/postfix/files')
-rw-r--r-- | mail/postfix/files/patch-makedefs | 13 | ||||
-rw-r--r-- | mail/postfix/files/patch-src_util_sys__defs.h | 5 |
2 files changed, 14 insertions, 4 deletions
diff --git a/mail/postfix/files/patch-makedefs b/mail/postfix/files/patch-makedefs index 3ae53f56129d..f688b8ab7338 100644 --- a/mail/postfix/files/patch-makedefs +++ b/mail/postfix/files/patch-makedefs @@ -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"} ;; @@ -31,6 +31,15 @@ + : ${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 ;; OpenBSD.2*) SYSTYPE=OPENBSD2 diff --git a/mail/postfix/files/patch-src_util_sys__defs.h b/mail/postfix/files/patch-src_util_sys__defs.h index aec571af7ff7..a31dfd4c24d5 100644 --- a/mail/postfix/files/patch-src_util_sys__defs.h +++ b/mail/postfix/files/patch-src_util_sys__defs.h @@ -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) \ |