mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
mail/postfix: temporary build fix for FreeBSD 15.
Reviewed by: otis Differential Revision: https://reviews.freebsd.org/D41599
This commit is contained in:
parent
e49fb20421
commit
caab3909f4
18
mail/postfix/files/patch-makedefs
Normal file
18
mail/postfix/files/patch-makedefs
Normal file
@ -0,0 +1,18 @@
|
||||
--- makedefs.orig 2023-04-14 13:37:45 UTC
|
||||
+++ makedefs
|
||||
@@ -343,6 +343,15 @@ case "$SYSTEM.$RELEASE" in
|
||||
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
|
||||
: ${PLUGIN_LD="${CC} -shared"}
|
||||
;;
|
||||
+ FreeBSD.15*) SYSTYPE=FREEBSD15
|
||||
+ : ${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
|
11
mail/postfix/files/patch-src_util_sys__defs.h
Normal file
11
mail/postfix/files/patch-src_util_sys__defs.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/util/sys_defs.h.orig 2023-02-13 19:36:27 UTC
|
||||
+++ src/util/sys_defs.h
|
||||
@@ -31,7 +31,7 @@
|
||||
|| defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|
||||
|| defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
|
||||
|| defined(FREEBSD11) || defined(FREEBSD12) || defined(FREEBSD13) \
|
||||
- || defined(FREEBSD14) \
|
||||
+ || defined(FREEBSD14) || defined(FREEBSD15) \
|
||||
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|
||||
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|
||||
|| defined(OPENBSD5) || defined(OPENBSD6) || defined(OPENBSD7) \
|
Loading…
Reference in New Issue
Block a user