svn commit: r439126 - head/Mk
Antoine Brodin
antoine at FreeBSD.org
Fri Apr 21 19:36:37 UTC 2017
Author: antoine
Date: Fri Apr 21 19:36:36 2017
New Revision: 439126
URL: https://svnweb.freebsd.org/changeset/ports/439126
Log:
Use POSIX conformant expressions with grep(1)
PR: 218691
Submitted by: Kyle Evans
With hat: portmgr
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Fri Apr 21 19:35:24 2017 (r439125)
+++ head/Mk/bsd.port.mk Fri Apr 21 19:36:36 2017 (r439126)
@@ -5013,7 +5013,7 @@ check-desktop-entries:
${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 1 (Name) is empty"; \
exit 1; \
fi; \
- if ${ECHO_CMD} "$$3" | ${GREP} -iq '.\(png\|svg\|xpm\)$$'; then \
+ if ${ECHO_CMD} "$$3" | ${EGREP} -iq '.(png|svg|xpm)$$'; then \
if ! ${ECHO_CMD} "$$3" | ${GREP} -iq '^/'; then \
${ECHO_MSG} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 3 (Icon) should be either absolute path or icon name without extension if installed icons follow Icon Theme Specification"; \
fi; \
More information about the svn-ports-all
mailing list