From dec3a48f087231e215bcacd17de5ae20d58a8b0c Mon Sep 17 00:00:00 2001 From: olgeni Date: Sun, 27 May 2001 15:18:40 +0000 Subject: Fix build when WRKDIRPREFIX is set to a different path. --- www/mod_python/Makefile | 4 ++-- 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 13922395f5df..b0b3ae8f50dd 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 13922395f5df..b0b3ae8f50dd 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: -- cgit