From b34056d160958b82575340c62a91a2c6f35c2c78 Mon Sep 17 00:00:00 2001 From: Jimmy 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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/mod_python') 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: -- cgit v1.2.3