From 7e6e9ca46eadda3043add7b5ba9b35c1e5f069b1 Mon Sep 17 00:00:00 2001 From: Daichi GOTO Date: Wed, 6 Aug 2003 08:46:45 +0000 Subject: fix security/py-m2crypto: - use PYTHON_VERSION Pointed out by: kuriyama --- security/py-m2crypto/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'security/py-m2crypto/Makefile') 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 -- cgit v1.2.3