Index: head/security/py-m2crypto/Makefile =================================================================== --- head/security/py-m2crypto/Makefile (revision 480593) +++ head/security/py-m2crypto/Makefile (revision 480594) @@ -1,38 +1,35 @@ # Created by: Peter Haight # $FreeBSD$ PORTNAME= m2crypto PORTVERSION= 0.30.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= M2Crypto-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Crypto and SSL toolkit for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE -BROKEN_SSL= openssl-devel -BROKEN_SSL_REASON_openssl-devel= Error: Syntax error in input(1). - BUILD_DEPENDS= swig3.0:devel/swig30 PYDISTUTILS_BUILDARGS= build_ext --include=${OPENSSLINC} --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig3.0 USE_PYTHON= autoplist concurrent distutils USES= python ssl post-patch: @${REINPLACE_CMD} -e "s|swig\(', '-version\)|swig3.0\1|" ${WRKSRC}/setup.py post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/M2Crypto/_m2crypto.so .include .if ${PYTHON_REL} < 3500 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing@${PY_FLAVOR} .endif .include Index: head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i =================================================================== --- head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i (nonexistent) +++ head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i (revision 480594) @@ -0,0 +1,11 @@ +--- SWIG/_m2crypto.i.orig 2018-02-24 13:54:59 UTC ++++ SWIG/_m2crypto.i +@@ -57,7 +57,8 @@ static PyObject *x509_store_verify_cb_fu + #ifdef _WIN32 + %include + #endif ++%include + %include + + /* Bring in LHASH_OF macro definition */ + /* XXX Can't include lhash.h where LHASH_OF is defined, because it includes Property changes on: head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/py-m2crypto/files/patch-setup.py =================================================================== --- head/security/py-m2crypto/files/patch-setup.py (nonexistent) +++ head/security/py-m2crypto/files/patch-setup.py (revision 480594) @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-04-29 18:47:25 UTC ++++ setup.py +@@ -196,7 +196,7 @@ class _M2CryptoBuildExt(build_ext.build_ + + # swig seems to need the default header file directories + self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes()]) +- self.swig_opts.append('-includeall') ++ #self.swig_opts.append('-includeall') + self.swig_opts.append('-modern') + self.swig_opts.append('-builtin') + Property changes on: head/security/py-m2crypto/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property