Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 14:33:18 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Doug Barton <dougb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r217213 - head/lib/bind
Message-ID:  <201101101433.18847.jhb@freebsd.org>
In-Reply-To: <201101092347.p09NlB4M060802@svn.freebsd.org>
References:  <201101092347.p09NlB4M060802@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote:
> Author: dougb
> Date: Sun Jan  9 23:47:11 2011
> New Revision: 217213
> URL: http://svn.freebsd.org/changeset/base/217213
> 
> Log:
>   Revert part of r217071 so that us mere mortals can clearly see
>   what this bit of code is intended to do. :)
>   
>   Approved by:	imp
> 
> Modified:
>   head/lib/bind/config.mk
> 
> Modified: head/lib/bind/config.mk
> 
==============================================================================
> --- head/lib/bind/config.mk	Sun Jan  9 23:46:24 2011	(r217212)
> +++ head/lib/bind/config.mk	Sun Jan  9 23:47:11 2011	(r217213)
> @@ -65,7 +65,11 @@ CFLAGS+=	-I${LIB_BIND_DIR}
>  .endif
>  
>  # Use the right version of the atomic.h file from lib/isc
> -ISC_ATOMIC_ARCH=${MACHINE_CPUARCH:S/i386/x86_32/:S/amd64/x86_32/}
> +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"

This should use MACHINE_CPUARCH instead of MACHINE_ARCH?

> +ISC_ATOMIC_ARCH=	x86_32
> +.else
> +ISC_ATOMIC_ARCH=	${MACHINE_CPUARCH}
> +.endif
>  
>  # Optional features
>  .if ${MK_BIND_LARGE_FILE} == "yes"
> 

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101101433.18847.jhb>