diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-06-21 18:18:17 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-06-21 18:18:17 +0000 |
commit | a8a093f0a5be405f14343b7753f4ef0a4484bea6 (patch) | |
tree | 362c9cda760b52ab72ff16dbc21c248db0c9bd5f /graphics/jbig2dec | |
parent | 62fff881aed21a60ada01bca077bb851c430fac1 (diff) | |
download | ports-a8a093f0a5be405f14343b7753f4ef0a4484bea6.tar.gz ports-a8a093f0a5be405f14343b7753f4ef0a4484bea6.zip |
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
Notes
Notes:
svn path=/head/; revision=358728
Diffstat (limited to 'graphics/jbig2dec')
-rw-r--r-- | graphics/jbig2dec/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile index 96c925fe0be0..80184826c79e 100644 --- a/graphics/jbig2dec/Makefile +++ b/graphics/jbig2dec/Makefile @@ -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 |