Date: Thu, 7 Nov 2019 18:49:58 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517002 - head/Mk/Uses Message-ID: <201911071849.xA7InwhV099023@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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} == <category> -# 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911071849.xA7InwhV099023>