Date: Wed, 10 Jan 2018 12:35:03 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458625 - head/security/py-cryptography Message-ID: <201801101235.w0ACZ38C094225@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jan 10 12:35:02 2018 New Revision: 458625 URL: https://svnweb.freebsd.org/changeset/ports/458625 Log: - Fix build on mips by disabling unknown warning flag MFH: 2018Q1 Approved by: portmgr blanket Modified: head/security/py-cryptography/Makefile Modified: head/security/py-cryptography/Makefile ============================================================================== --- head/security/py-cryptography/Makefile Wed Jan 10 12:07:03 2018 (r458624) +++ head/security/py-cryptography/Makefile Wed Jan 10 12:35:02 2018 (r458625) @@ -26,16 +26,24 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.9.0:dev ${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601@${FLAVOR} # Python 2.7, 3.4-3.6 -USES= python ssl +USES= compiler:env python ssl USE_PYTHON= autoplist concurrent distutils CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 +post-patch: + @${REINPLACE_CMD} -e 's|"-Wno-error=sign-conversion"||' \ + ${WRKSRC}/src/_cffi_src/build_openssl.py +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801101235.w0ACZ38C094225>