diff options
author | ohauer <ohauer@FreeBSD.org> | 2018-10-23 00:41:14 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2018-10-23 00:41:14 +0800 |
commit | 999e27b454d1d212b01c2e431b9953e9c04729ee (patch) | |
tree | 0aab5744df89c4b325e8a3d3c8cec3887a5355a1 /mail | |
parent | 987d21c596b1724e57027bde1187f0d40a29bbf0 (diff) | |
download | freebsd-ports-gnome-999e27b454d1d212b01c2e431b9953e9c04729ee.tar.gz freebsd-ports-gnome-999e27b454d1d212b01c2e431b9953e9c04729ee.tar.zst freebsd-ports-gnome-999e27b454d1d212b01c2e431b9953e9c04729ee.zip |
- fix build on FreeBSD 13-CURRENT
PR: 232502
Submitted by: Kai
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix-current/files/patch-makedefs | 13 | ||||
-rw-r--r-- | mail/postfix-current/files/patch-src_util_sys__defs.h | 2 | ||||
-rw-r--r-- | mail/postfix/files/patch-makedefs | 13 | ||||
-rw-r--r-- | mail/postfix/files/patch-src_util_sys__defs.h | 2 |
4 files changed, 24 insertions, 6 deletions
diff --git a/mail/postfix-current/files/patch-makedefs b/mail/postfix-current/files/patch-makedefs index a8f16850a94d..2fe16c393bb3 100644 --- a/mail/postfix-current/files/patch-makedefs +++ b/mail/postfix-current/files/patch-makedefs @@ -1,6 +1,6 @@ ---- 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"} ;; @@ -13,6 +13,15 @@ + : ${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 ;; OpenBSD.2*) SYSTYPE=OPENBSD2 diff --git a/mail/postfix-current/files/patch-src_util_sys__defs.h b/mail/postfix-current/files/patch-src_util_sys__defs.h index 3780d6944995..16f18c9c8388 100644 --- a/mail/postfix-current/files/patch-src_util_sys__defs.h +++ b/mail/postfix-current/files/patch-src_util_sys__defs.h @@ -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) \ 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"} ;; @@ -22,6 +22,15 @@ + : ${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 ;; 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 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) \ |