From owner-svn-ports-all@FreeBSD.ORG Mon May 25 08:38:36 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3BB775A; Mon, 25 May 2015 08:38:36 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay118.isp.belgacom.be (mailrelay118.isp.belgacom.be [195.238.20.145]) by mx1.freebsd.org (Postfix) with ESMTP id B5F1ED38; Mon, 25 May 2015 08:38:35 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=yz6z4UlqfYe1Iv9USMliYggvHmbgQ4ACOrhY3D/q6Wc= c=1 sm=2 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=RkuApoJ5FL3zs9YaWJkA:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BhBgDS3mJV//KPsFtcgxCBJQ3LEAQCAoEvPBEBAQEBAQEBgQqEIwEBBDocIxALDgoJJQ8qHgYTiDAB0mEBAQEBAQEBAwEBAQEBHYs6hQUHhC0BBJ4WlzAjg3o8MYJHAQEB Received: from 242.143-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.143.242]) by relay.skynet.be with ESMTP; 25 May 2015 10:37:26 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id t4P8bPfG008734; Mon, 25 May 2015 10:37:25 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 25 May 2015 10:37:25 +0200 From: Tijl Coosemans To: Jan Beich 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2015 08:38:36 -0000 On Sun, 24 May 2015 20:01:47 +0200 Jan Beich wrote: > Tijl Coosemans 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.