svn commit: r517002 - head/Mk/Uses
Niclas Zeising
zeising at FreeBSD.org
Thu Nov 7 18:49:59 UTC 2019
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"
More information about the svn-ports-all
mailing list