summaryrefslogtreecommitdiff
path: root/security/py-m2crypto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-m2crypto/Makefile')
-rw-r--r--security/py-m2crypto/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index c6e982efce9a..9bdc072f5f1c 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -28,7 +28,7 @@ USE_REINPLACE= yes
PINSTALL_PLIST= ${WRKDIR}/pinstall-plist
post-patch:
- ${REINPLACE_CMD} "s/PYTHON_VERSION/${PYTHON_VERSION}/" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|" ${WRKSRC}/Makefile
post-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/../M2Crypto