Date: Thu, 18 Aug 2016 05:41:51 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420385 - head/devel/py-cffi Message-ID: <201608180541.u7I5fpPj010550@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> -.if ${OSVERSION} >= 1100000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 CFLAGS+= -Wno-shift-negative-value .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608180541.u7I5fpPj010550>