Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2016 17:16:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416052 - head/Mk/Scripts
Message-ID:  <201605281716.u4SHG3IT008652@repo.freebsd.org>

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



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