diff options
-rw-r--r-- | www/mod_python/Makefile | 4 | ||||
-rw-r--r-- | www/mod_python3/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/www/mod_python/Makefile b/www/mod_python/Makefile index 1392239..b0b3ae8 100644 --- a/www/mod_python/Makefile +++ b/www/mod_python/Makefile @@ -48,10 +48,10 @@ pre-fetch: pre-patch: .if !defined(WITH_OPENPTY) - ${PATCH} -s < ${PATCHDIR}/optpatch-WITHOUT_OPENPTY + cd ${PYTHON_WRKSRC} && ${PATCH} -s < ${PATCHDIR}/optpatch-WITHOUT_OPENPTY .endif .if defined(WANT_EAPI) - ${PATCH} -s < ${PATCHDIR}/optpatch-WANT_EAPI + cd ${WRKSRC} && ${PATCH} -p2 -s < ${PATCHDIR}/optpatch-WANT_EAPI .endif pre-configure: diff --git a/www/mod_python3/Makefile b/www/mod_python3/Makefile index 1392239..b0b3ae8 100644 --- a/www/mod_python3/Makefile +++ b/www/mod_python3/Makefile @@ -48,10 +48,10 @@ pre-fetch: pre-patch: .if !defined(WITH_OPENPTY) - ${PATCH} -s < ${PATCHDIR}/optpatch-WITHOUT_OPENPTY + cd ${PYTHON_WRKSRC} && ${PATCH} -s < ${PATCHDIR}/optpatch-WITHOUT_OPENPTY .endif .if defined(WANT_EAPI) - ${PATCH} -s < ${PATCHDIR}/optpatch-WANT_EAPI + cd ${WRKSRC} && ${PATCH} -p2 -s < ${PATCHDIR}/optpatch-WANT_EAPI .endif pre-configure: |