Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 14:47:33 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345244 - head/math/sage
Message-ID:  <201402201447.s1KElXc9098659@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stephen
Date: Thu Feb 20 14:47:33 2014
New Revision: 345244
URL: http://svnweb.freebsd.org/changeset/ports/345244
QAT: https://qat.redports.org/buildarchive/r345244/

Log:
  - Fix portlint warnings.

Modified:
  head/math/sage/Makefile

Modified: head/math/sage/Makefile
==============================================================================
--- head/math/sage/Makefile	Thu Feb 20 14:47:13 2014	(r345243)
+++ head/math/sage/Makefile	Thu Feb 20 14:47:33 2014	(r345244)
@@ -153,27 +153,27 @@ MAKE_ENV+=	MAKE="${MAKE} -j${MAKE_JOBS_N
 
 .ifdef MAINTAINER_MODE
 test-fbsd-patches:	patch
-	rm -rf ${WRKSRC}/build/pkgs/*/src; \
+	${RM} -rf ${WRKSRC}/build/pkgs/*/src; \
 	for d in ${WRKSRC}/build/pkgs/*; do \
 		if ls $$d/fbsd-patch-* > /dev/null 2>&1; then \
-			echo Testing patches in $${d##*/}; \
-			b=$${d##*/}-`cat $$d/package-version.txt | sed 's/\.p.*//'`; \
+			${ECHO_MSG} Testing patches in $${d##*/}; \
+			b=$${d##*/}-`${CAT} $$d/package-version.txt | ${SED} 's/\.p.*//'`; \
 			c=${WRKSRC}/upstream/$$b.tar.bz2 ; \
 			if [ ! -e $$c ]; then \
-				echo Couldn\'t find $$c; \
+				${ECHO_MSG} Couldn\'t find $$c; \
 				exit 1; \
 			fi; \
-			if ! (cd $$d && tar xf $$c && mv $$b src); then \
-				echo Unable to unarchive $$c; \
+			if ! (cd $$d && tar xf $$c && ${MV} $$b src); then \
+				${ECHO_MSG} Unable to unarchive $$c; \
 				exit 1; \
 			fi; \
-			if ! (cd $$d && cat fbsd-patch-* | patch); then \
-				echo Patches in $${d##*/} failed; \
+			if ! (cd $$d && ${CAT} fbsd-patch-* | patch); then \
+				${ECHO_MSG} Patches in $${d##*/} failed; \
 				exit 1; \
 			fi; \
 		fi; \
 	done; \
-	rm -rf ${WRKSRC}/build/pkgs/*/src
+	${RM} -rf ${WRKSRC}/build/pkgs/*/src
 .endif
 
 .include <bsd.port.post.mk>



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