svn commit: r387283 - head/devel/sdl20

Tijl Coosemans tijl at FreeBSD.org
Mon May 25 08:38:36 UTC 2015


On Sun, 24 May 2015 20:01:47 +0200 Jan Beich <jbeich at FreeBSD.org> wrote:
> Tijl Coosemans <tijl at 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.


More information about the svn-ports-all mailing list