Viktor Dukhovni:
> 
> This should fix compilation issues with MacOS X 10.7 aka Darwin
> 11, for Postfix 2.11 and 2.12 snapshots.  There is probably little
> reason to retrofit 2.8--2.10, if you feel that's warranted to
> include in some future patch release, these would need a patch
> introducing the libresolv dependency case statement.

I patched Postfix 2.12 yesterday, and verified that it works
with "sh makedefs system version".

>From an announcement point of view it may be easier to apply this
to all supported releases.  We have a few months before the next
stable release update.

        Wietse

> diff --git a/makedefs b/makedefs
> index 1566b95..910ddbb 100644
> --- a/makedefs
> +++ b/makedefs
> @@ -576,9 +576,9 @@ ReliantUNIX-?.5.43) SYSTYPE=ReliantUnix543
>                    ?.*) CCARGS="$CCARGS -DRESOLVE_H_NEEDS_NAMESER8_COMPAT_H";;
>                      *) CCARGS="$CCARGS 
> -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H";;
>               esac
> -             # Darwin 12.x (MacOS X 10.8.x), maybe earlier, needs libresolv.
> +             # Darwin 11.x (MacOS X 10.7.x), maybe earlier, needs libresolv.
>               case $RELEASE in
> -         ?.*|1[0-1].*) ;;
> +             ?.*|10.*) ;;
>                      *) SYSLIBS="$SYSLIBS -lresolv";;
>               esac
>               # kqueue and/or poll are broken in MacOS X 10.5 (Darwin 9).
> 
> -- 
>       Viktor.

Reply via email to