From owner-svn-ports-head@freebsd.org Sat Sep 17 13:26:12 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D25BBDC608; Sat, 17 Sep 2016 13:26:12 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 2DDDC639; Sat, 17 Sep 2016 13:26:12 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8HDQBO7085265; Sat, 17 Sep 2016 13:26:11 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8HDQBwp085264; Sat, 17 Sep 2016 13:26:11 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201609171326.u8HDQBwp085264@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 17 Sep 2016 13:26:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422322 - head/devel/py-cffi X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2016 13:26:12 -0000 Author: linimon Date: Sat Sep 17 13:26:11 2016 New Revision: 422322 URL: https://svnweb.freebsd.org/changeset/ports/422322 Log: Attempt to fix build on non-clang architectures (certain tier-2). PR: 212739 Approved by: maintainer Modified: head/devel/py-cffi/Makefile Modified: head/devel/py-cffi/Makefile ============================================================================== --- head/devel/py-cffi/Makefile Sat Sep 17 13:07:53 2016 (r422321) +++ head/devel/py-cffi/Makefile Sat Sep 17 13:26:11 2016 (r422322) @@ -18,14 +18,16 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycp TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest # Actually 2.6-2.7,3.2-3.5 -USES= localbase python +USES= localbase python compiler USE_PYTHON= autoplist distutils .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 +.if ${COMPILER_TYPE:Mclang} CFLAGS+= -Wno-shift-negative-value .endif +.endif # Tests assume gcc, and fail on pure clang systems # Fixed in https://bitbucket.org/cffi/cffi/issues/271