Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2014 18:18:17 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358728 - head/graphics/jbig2dec
Message-ID:  <201406211818.s5LIIHKL019486@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406211818.s5LIIHKL019486>