From: Viktor Dukhovni Date: Sun, 10 Jan 2016 08:38:20 +0000 (-0500) Subject: Bitrot: libresolv needed in at least MacOS/X 10.7 and up X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ea161d7b4f651feb10f5cede957cc0e4d1fcdde;p=thirdparty%2Fpostfix.git Bitrot: libresolv needed in at least MacOS/X 10.7 and up --- 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