Date: Mon, 22 Oct 2018 16:41:15 +0000 (UTC) From: Olli Hauer <ohauer@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482754 - in head/mail: postfix-current/files postfix/files Message-ID: <201810221641.w9MGfFhC079540@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ohauer Date: Mon Oct 22 16:41:14 2018 New Revision: 482754 URL: https://svnweb.freebsd.org/changeset/ports/482754 Log: - fix build on FreeBSD 13-CURRENT PR: 232502 Submitted by: Kai 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 Mon Oct 22 16:40:57 2018 (r482753) +++ head/mail/postfix-current/files/patch-makedefs Mon Oct 22 16:41:14 2018 (r482754) @@ -1,10 +1,19 @@ ---- makedefs.orig 2018-03-07 00:46:20 UTC +--- makedefs.orig 2018-08-12 21:35:37 UTC +++ makedefs -@@ -296,6 +296,15 @@ case "$SYSTEM.$RELEASE" in +@@ -298,6 +298,24 @@ case "$SYSTEM.$RELEASE" in : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} : ${PLUGIN_LD="${CC} -shared"} ;; + FreeBSD.12*) SYSTYPE=FREEBSD12 ++ : ${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.13*) SYSTYPE=FREEBSD13 + : ${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 Mon Oct 22 16:40:57 2018 (r482753) +++ head/mail/postfix-current/files/patch-src_util_sys__defs.h Mon Oct 22 16:41:14 2018 (r482754) @@ -5,7 +5,7 @@ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ || defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \ - || defined(FREEBSD11) \ -+ || 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) \ Modified: head/mail/postfix/files/patch-makedefs ============================================================================== --- head/mail/postfix/files/patch-makedefs Mon Oct 22 16:40:57 2018 (r482753) +++ head/mail/postfix/files/patch-makedefs Mon Oct 22 16:41:14 2018 (r482754) @@ -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"} ;; @@ -14,6 +14,15 @@ + : ${PLUGIN_LD="${CC} -shared"} + ;; + FreeBSD.12*) SYSTYPE=FREEBSD12 ++ : ${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.13*) SYSTYPE=FREEBSD13 + : ${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 Mon Oct 22 16:40:57 2018 (r482753) +++ head/mail/postfix/files/patch-src_util_sys__defs.h Mon Oct 22 16:41:14 2018 (r482754) @@ -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) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810221641.w9MGfFhC079540>