svn commit: r358728 - head/graphics/jbig2dec
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sat Jun 21 18:18:17 UTC 2014
Author: rakuco
Date: Sat Jun 21 18:18:17 2014
New Revision: 358728
URL: http://svnweb.freebsd.org/changeset/ports/358728
QAT: https://qat.redports.org/buildarchive/r358728/
Log:
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
Modified:
head/graphics/jbig2dec/Makefile
Modified: head/graphics/jbig2dec/Makefile
==============================================================================
--- head/graphics/jbig2dec/Makefile Sat Jun 21 18:08:24 2014 (r358727)
+++ head/graphics/jbig2dec/Makefile Sat Jun 21 18:18:17 2014 (r358728)
@@ -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
More information about the svn-ports-all
mailing list