summaryrefslogtreecommitdiffstats
path: root/www/mod_python3
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-05-27 15:18:40 +0000
committerolgeni <olgeni@FreeBSD.org>2001-05-27 15:18:40 +0000
commitdec3a48f087231e215bcacd17de5ae20d58a8b0c (patch)
tree83328ec56b5c4fb54adc5c97426cd2b1e88b2a55 /www/mod_python3
parentce6025ae44d5ebbf65d7a1585c5625754ec76c96 (diff)
downloadFreeBSD-ports-dec3a48f087231e215bcacd17de5ae20d58a8b0c.zip
FreeBSD-ports-dec3a48f087231e215bcacd17de5ae20d58a8b0c.tar.gz
Fix build when WRKDIRPREFIX is set to a different path.
Diffstat (limited to 'www/mod_python3')
-rw-r--r--www/mod_python3/Makefile4
1 files changed, 2 insertions, 2 deletions
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:
OpenPOWER on IntegriCloud