diff options
-rw-r--r-- | security/py-m2crypto/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index 1de1addce5e9..fc8abc0c54b5 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -10,16 +10,21 @@ PORTVERSION= 0.17 CATEGORIES= security python MASTER_SITES= http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DIST_SUBDIR= python MAINTAINER= mnag@FreeBSD.org COMMENT= Crypto and SSL toolkit for Python BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 -DIST_SUBDIR= python USE_PYTHON= 2.3+ USE_PYDISTUTILS=yes USE_OPENSSL= yes +WITH_OPENSSL_PORT= yes + +.if defined(WITH_OPENSSL_PORT) +PYDISTUTILS_BUILDARGS= --openssl="${LOCALBASE}" +.endif post-patch: @${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" ${WRKSRC}/SWIG/Makefile |