svn commit: r345244 - head/math/sage
Stephen Montgomery-Smith
stephen at FreeBSD.org
Thu Feb 20 14:47:33 UTC 2014
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>
More information about the svn-ports-all
mailing list