diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-05-03 00:21:44 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-05-03 00:21:44 +0800 |
commit | f34b6181279923a8e9872ff15d46d6d5642f8a3f (patch) | |
tree | f6843458874a340f0b61954773ce560756a423d3 | |
parent | 3d2da6f75d9263f6c0b96c7ef80217b323475797 (diff) | |
download | freebsd-ports-gnome-f34b6181279923a8e9872ff15d46d6d5642f8a3f.tar.gz freebsd-ports-gnome-f34b6181279923a8e9872ff15d46d6d5642f8a3f.tar.zst freebsd-ports-gnome-f34b6181279923a8e9872ff15d46d6d5642f8a3f.zip |
- Move DIST_SUBDIR to the frist part of the port.
- Use OpenSSL from the ports (the new version makes additional functionality
to be compiled, which enables future - 2 right now - ports to work).
PR: ports/112131
Submitted by: alepulver (myself)
Approved by: mnag (maintainer, timeout)
-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 |