diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-05-27 15:18:40 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-05-27 15:18:40 +0000 |
commit | b34056d160958b82575340c62a91a2c6f35c2c78 (patch) | |
tree | 492fd5c30acfa1e41954f981106ea13b071312c5 /www | |
parent | Update port to version 1.1.3. (diff) |
Fix build when WRKDIRPREFIX is set to a different path.
Notes
Notes:
svn path=/head/; revision=43139
Diffstat (limited to 'www')
-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: |