From 3ea161d7b4f651feb10f5cede957cc0e4d1fcdde Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Sun, 10 Jan 2016 03:38:20 -0500 Subject: [PATCH] Bitrot: libresolv needed in at least MacOS/X 10.7 and up --- postfix/makedefs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/postfix/makedefs b/postfix/makedefs index 88562c9dd..9f2754078 100644 --- a/postfix/makedefs +++ b/postfix/makedefs @@ -479,6 +479,11 @@ ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix543 ?.*) CCARGS="$CCARGS -DRESOLVE_H_NEEDS_NAMESER8_COMPAT_H";; *) CCARGS="$CCARGS -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H";; esac + # Darwin 11.x (MacOS X 10.7.x), maybe earlier, needs libresolv. + case $RELEASE in + ?.*|10.*) ;; + *) SYSLIBS="$SYSLIBS -lresolv";; + esac # kqueue and/or poll are broken up to and including MacOS X 10.5 CCARGS="$CCARGS -DNO_KQUEUE" # # Darwin 8.11.1 has kqueue support, but let's play safe -- 2.47.3