From owner-svn-ports-all@freebsd.org Thu Aug 18 05:41:52 2016 Return-Path: Delivered-To: svn-ports-all@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 41C51BBE697; Thu, 18 Aug 2016 05:41:52 +0000 (UTC) (envelope-from marino@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 0EC031A4D; Thu, 18 Aug 2016 05:41:51 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7I5fpr9010551; Thu, 18 Aug 2016 05:41:51 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7I5fpPj010550; Thu, 18 Aug 2016 05:41:51 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201608180541.u7I5fpPj010550@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 18 Aug 2016 05:41:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420385 - 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-all@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 18 Aug 2016 05:41:52 -0000 Author: marino Date: Thu Aug 18 05:41:51 2016 New Revision: 420385 URL: https://svnweb.freebsd.org/changeset/ports/420385 Log: devel/py-cffi: Use OPSYS with OSVERSION, USES+= localbase r419747 introduced OSVERSION with a ">" comparison without using coupling with OPSYS, fix. It also removed CFLAGS and LDFLAGS as "unnecessary", but the fact is they are still required for non-standard localbases and compilers that don't search /usr/local/include by default. Restore these flags with the equivalent USES+=localbase Approved by: OPVERSION/OPSYS blanket, just-fix-it Modified: head/devel/py-cffi/Makefile Modified: head/devel/py-cffi/Makefile ============================================================================== --- head/devel/py-cffi/Makefile Thu Aug 18 03:47:20 2016 (r420384) +++ head/devel/py-cffi/Makefile Thu Aug 18 05:41:51 2016 (r420385) @@ -18,12 +18,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycp TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest # Actually 2.6-2.7,3.2-3.5 -USES= python +USES= localbase python USE_PYTHON= autoplist distutils .include -.if ${OSVERSION} >= 1100000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 CFLAGS+= -Wno-shift-negative-value .endif