summaryrefslogtreecommitdiff
path: root/mail/postfix-current/files/patch-makedefs
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2018-10-22 16:41:14 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2018-10-22 16:41:14 +0000
commitd0a9b751ca76ad17d0d1de586e2f41c5b68e79f7 (patch)
tree0aab5744df89c4b325e8a3d3c8cec3887a5355a1 /mail/postfix-current/files/patch-makedefs
parentdatabases/xtrabackup: fix build due to stricter llvm60 c++ (diff)
- fix build on FreeBSD 13-CURRENT
PR: 232502 Submitted by: Kai
Notes
Notes: svn path=/head/; revision=482754
Diffstat (limited to 'mail/postfix-current/files/patch-makedefs')
-rw-r--r--mail/postfix-current/files/patch-makedefs13
1 files changed, 11 insertions, 2 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