svn commit: r416052 - head/Mk/Scripts

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat May 28 17:16:04 UTC 2016


Author: amdmi3
Date: Sat May 28 17:16:03 2016
New Revision: 416052
URL: https://svnweb.freebsd.org/changeset/ports/416052

Log:
  Fix sed command in proxydeps_suggest_uses qa.sh check
  
  It led to incorrect "you need USE_XORG+" suggestion
  
  Submitted by:	amdmi3
  Approved by:	portmgr (bapt)
  Differential Revision:	D6618

Modified:
  head/Mk/Scripts/qa.sh

Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh	Sat May 28 17:11:10 2016	(r416051)
+++ head/Mk/Scripts/qa.sh	Sat May 28 17:16:03 2016	(r416052)
@@ -449,7 +449,7 @@ proxydeps_suggest_uses() {
 		warn "you need USE_GL+=glut"
 	# Xorg-libraries: this should be by XORG_MODULES @ bsd.xorg.mk
 	elif echo ${pkg} | grep -E '/lib(X11|Xau|Xdmcp|Xext|SM|ICE|Xfixes|Xft|Xdamage|Xcomposite|Xcursor|Xinerama|Xmu|Xmuu|Xpm|Xt|Xtst|Xi|Xrandr|Xrender|Xres|XScrnSaver|Xv|Xxf86vm|Xxf86dga|Xxf86misc|xcb)$' > /dev/null; then
-		warn "you need USE_XORG+=$(echo ${pkg} | sed -E 's|.*/lib//' | tr '[:upper:]' '[:lower:]')"
+		warn "you need USE_XORG+=$(echo ${pkg} | sed -E 's|.*/lib||' | tr '[:upper:]' '[:lower:]')"
 	elif [ ${pkg} = 'x11/pixman' ]; then
 		warn "you need USE_XORG+=pixman"
 	# Qt4


More information about the svn-ports-head mailing list