1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix build when WRKDIRPREFIX is set to a different path.

This commit is contained in:
Jimmy Olgeni 2001-05-27 15:18:40 +00:00
parent 72cdf8431a
commit b34056d160
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43139
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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: