Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 10:37:25 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r387283 - head/devel/sdl20
Message-ID:  <20150525103725.240723c2@kalimero.tijl.coosemans.org>
In-Reply-To: <7frx-7t2s-wny@vfemail.net>
References:  <201505241648.t4OGmf2K096837@svn.freebsd.org> <7frx-7t2s-wny@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 May 2015 20:01:47 +0200 Jan Beich <jbeich@FreeBSD.org> wrote:
> Tijl Coosemans <tijl@FreeBSD.org> writes:
>> +.if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
>> +CONFIGURE_ARGS+=	--enable-mmx
>> +.else
>> +CONFIGURE_ARGS+=	--disable-mmx
>> +.endif
> 
> Why not use smth like the following instead ?
> 
>   OPTIONS_DEFAULT_i386=	${MACHINE_CPU:tu:MMMX}

Because an option doesn't make much sense for CPU features.  Either
the target CPU supports MMX or it doesn't.  It's not a user choice.



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