From d0a9b751ca76ad17d0d1de586e2f41c5b68e79f7 Mon Sep 17 00:00:00 2001 From: Olli Hauer Date: Mon, 22 Oct 2018 16:41:14 +0000 Subject: - fix build on FreeBSD 13-CURRENT PR: 232502 Submitted by: Kai --- mail/postfix/files/patch-makedefs | 13 +++++++++++-- mail/postfix/files/patch-src_util_sys__defs.h | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'mail/postfix/files') diff --git a/mail/postfix/files/patch-makedefs b/mail/postfix/files/patch-makedefs index 5abe3f061e08..79ad6ebfc061 100644 --- a/mail/postfix/files/patch-makedefs +++ b/mail/postfix/files/patch-makedefs @@ -1,6 +1,6 @@ ---- makedefs.orig 2016-05-15 16:39:11 UTC +--- makedefs.orig 2018-02-03 17:20:46 UTC +++ makedefs -@@ -272,6 +272,24 @@ case "$SYSTEM.$RELEASE" in +@@ -287,6 +287,33 @@ case "$SYSTEM.$RELEASE" in : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} : ${PLUGIN_LD="${CC} -shared"} ;; @@ -21,6 +21,15 @@ + : ${SHLIB_RPATH='-Wl,-rpath,${SHLIB_DIR}'} + : ${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"} + ;; DragonFly.*) SYSTYPE=DRAGONFLY ;; diff --git a/mail/postfix/files/patch-src_util_sys__defs.h b/mail/postfix/files/patch-src_util_sys__defs.h index d1633b6c2ab0..0c32afed3712 100644 --- a/mail/postfix/files/patch-src_util_sys__defs.h +++ b/mail/postfix/files/patch-src_util_sys__defs.h @@ -4,7 +4,7 @@ #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(BSDI2) || defined(BSDI3) || defined(BSDI4) \ || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ || defined(OPENBSD5) || defined(OPENBSD6) \ -- cgit v1.2.3