mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Replace an invocation of "/usr/bin/env python" with ${PYTHON_CMD}.
lang/python is not brought in by USE_PYTHON since r336850, which broke the TESTS option (it's off by default). PR: 187959
This commit is contained in:
parent
62fff881ae
commit
a8a093f0a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358728
@ -50,6 +50,8 @@ post-patch:
|
||||
.endif
|
||||
@${REINPLACE_CMD} -E 's|SHA1_Final\( *([^,]+), *([^\)]+)\)|SHA1_Final(\2, \1)|' \
|
||||
${WRKSRC}/jbig2dec.c ${WRKSRC}/sha1.c
|
||||
@${REINPLACE_CMD} -e '1 s|${SETENV} python|${PYTHON_CMD}|' \
|
||||
${WRKSRC}/test_jbig2dec.py
|
||||
|
||||
test check regression-test:
|
||||
${MAKE} -C ${WRKSRC} check-TESTS
|
||||
|
Loading…
Reference in New Issue
Block a user