From owner-svn-ports-all@FreeBSD.ORG Mon Sep 15 15:39:04 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30A04DCF; Mon, 15 Sep 2014 15:39:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BAED376; Mon, 15 Sep 2014 15:39:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8FFd3gW052268; Mon, 15 Sep 2014 15:39:03 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8FFd3jh052267; Mon, 15 Sep 2014 15:39:03 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201409151539.s8FFd3jh052267@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Mon, 15 Sep 2014 15:39:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368271 - head/graphics/sdl_gfx X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 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, 15 Sep 2014 15:39:04 -0000 Author: sbruno Date: Mon Sep 15 15:39:03 2014 New Revision: 368271 URL: http://svnweb.freebsd.org/changeset/ports/368271 QAT: https://qat.redports.org/buildarchive/r368271/ Log: Disable MMX instructions on non-x86 architectures and properly enable the option on amd64 builds. Yet another armv6 build fix. Phabric: https://reviews.freebsd.org/D761 Submitted by: mva Reviewed by: bdrewery (mentor) Modified: head/graphics/sdl_gfx/Makefile Modified: head/graphics/sdl_gfx/Makefile ============================================================================== --- head/graphics/sdl_gfx/Makefile Mon Sep 15 15:35:18 2014 (r368270) +++ head/graphics/sdl_gfx/Makefile Mon Sep 15 15:39:03 2014 (r368271) @@ -24,8 +24,17 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/i USE_LDCONFIG= yes OPTIONS_DEFINE_i386= MMX +OPTIONS_DEFINE_amd64= MMX MMX_CONFIGURE_ENABLE= mmx MMX_CFLAGS= -DUSE_MMX +.include + +.if !${PORT_OPTIONS:MMMX} +# Every platform not supporting the MMX knob must disable +# MMX support explicitly +CONFIGURE_ARGS+= --disable-mmx +.endif + .include