From owner-svn-ports-head@freebsd.org Thu Nov 7 18:49:59 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE83A1BD31A; Thu, 7 Nov 2019 18:49:59 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 478CBb4fXFz48BD; Thu, 7 Nov 2019 18:49:59 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 82D4D1A29D; Thu, 7 Nov 2019 18:49:59 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xA7InxQN099026; Thu, 7 Nov 2019 18:49:59 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xA7InwhV099023; Thu, 7 Nov 2019 18:49:58 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201911071849.xA7InwhV099023@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Thu, 7 Nov 2019 18:49:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517002 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 517002 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 18:49:59 -0000 Author: zeising Date: Thu Nov 7 18:49:58 2019 New Revision: 517002 URL: https://svnweb.freebsd.org/changeset/ports/517002 Log: Add comment about USES+=xorg in mk files Add a comment clarifying why USES+=xorg is used in a couple of Mk/Uses/* files, even though it does not provide any immediate functionality. Modified: head/Mk/Uses/gl.mk head/Mk/Uses/motif.mk head/Mk/Uses/xorg-cat.mk Modified: head/Mk/Uses/gl.mk ============================================================================== --- head/Mk/Uses/gl.mk Thu Nov 7 18:41:56 2019 (r517001) +++ head/Mk/Uses/gl.mk Thu Nov 7 18:49:58 2019 (r517002) @@ -45,7 +45,9 @@ LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} .endif .endfor -# We only need USES=xorg if we want USE_XORG modules +# We only need to include xorg.mk if we want USE_XORG modules +# USES+=xorg does not provide any functionality, it just silences an error +# message about USES=xorg not being set .if defined(USE_XORG) && !empty(USE_XORG) USES+= xorg .include "${USESDIR}/xorg.mk" Modified: head/Mk/Uses/motif.mk ============================================================================== --- head/Mk/Uses/motif.mk Thu Nov 7 18:41:56 2019 (r517001) +++ head/Mk/Uses/motif.mk Thu Nov 7 18:49:58 2019 (r517002) @@ -27,7 +27,9 @@ LIB_DEPENDS+= libXm.so.4:x11-toolkits/open-motif MOTIFLIB?= -L${LOCALBASE}/lib -lXm MAKE_ENV+= MOTIFLIB="${MOTIFLIB}" -# We only need USES=xorg if we want USE_XORG modules +# We only need to include xorg.mk if we want USE_XORG modules +# USES+=xorg does not provide any functionality, it just silences an error +# message about USES=xorg not being set .if defined(USE_XORG) && !empty(USE_XORG) USES+= xorg .include "${USESDIR}/xorg.mk" Modified: head/Mk/Uses/xorg-cat.mk ============================================================================== --- head/Mk/Uses/xorg-cat.mk Thu Nov 7 18:41:56 2019 (r517001) +++ head/Mk/Uses/xorg-cat.mk Thu Nov 7 18:49:58 2019 (r517002) @@ -177,7 +177,9 @@ USE_XORG+= fontutil . endif # ${_XORG_CAT} == -# We only need USES=xorg if we want USE_XORG modules +# We only need to include xorg.mk if we want USE_XORG modules +# USES+=xorg does not provide any functionality, it just silences an error +# message about USES=xorg not being set . if defined(USE_XORG) && !empty(USE_XORG) USES+= xorg .include "${USESDIR}/xorg.mk"