diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-05-27 23:18:40 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-05-27 23:18:40 +0800 |
commit | dec3a48f087231e215bcacd17de5ae20d58a8b0c (patch) | |
tree | 83328ec56b5c4fb54adc5c97426cd2b1e88b2a55 | |
parent | ce6025ae44d5ebbf65d7a1585c5625754ec76c96 (diff) | |
download | freebsd-ports-gnome-dec3a48f087231e215bcacd17de5ae20d58a8b0c.tar.gz freebsd-ports-gnome-dec3a48f087231e215bcacd17de5ae20d58a8b0c.tar.zst freebsd-ports-gnome-dec3a48f087231e215bcacd17de5ae20d58a8b0c.zip |
Fix build when WRKDIRPREFIX is set to a different path.
-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 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: |