diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-08-06 08:46:45 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-08-06 08:46:45 +0000 |
commit | 7e6e9ca46eadda3043add7b5ba9b35c1e5f069b1 (patch) | |
tree | 186b56b85b27d5ad00b0db256770a459b6ff6cdb /security/py-m2crypto/Makefile | |
parent | Use the (optional) ISO C compliant versions of the SGB headers instead of (diff) |
fix security/py-m2crypto:
- use PYTHON_VERSION
Pointed out by: kuriyama
Diffstat (limited to 'security/py-m2crypto/Makefile')
-rw-r--r-- | security/py-m2crypto/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index 6ea55f140bd8..c6e982efce9a 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -23,9 +23,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/SWIG USE_PYTHON= yes USE_ZIP= yes USE_OPENSSL= yes +USE_REINPLACE= yes PINSTALL_PLIST= ${WRKDIR}/pinstall-plist +post-patch: + ${REINPLACE_CMD} "s/PYTHON_VERSION/${PYTHON_VERSION}/" ${WRKSRC}/Makefile + post-build: ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/../M2Crypto |