mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
Mk/Uses: Add USES+=xorg when including xorg.mk
Add USES+=xorg to the places where MK/Uses/xorg.mk is included from other files in the Uses infrastructure. This is done to silence an erroneous warning about USES=xorg not being set when using USES=gl, motif or xorg-cat, even when it's included from the framework. This is a different proposal than what was originally suggested in pr 241627 and https://reviews.freebsd.org/D22210 . PR: 238988, 241627 Discussed with: mat MFH: 2019Q4 Differential Revision: https://reviews.freebsd.org/D22210
This commit is contained in:
parent
897ad0b36e
commit
0ac7dd60a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516921
@ -47,6 +47,7 @@ LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS}
|
||||
|
||||
# We only need USES=xorg if we want USE_XORG modules
|
||||
.if defined(USE_XORG) && !empty(USE_XORG)
|
||||
USES+= xorg
|
||||
.include "${USESDIR}/xorg.mk"
|
||||
.endif
|
||||
|
||||
|
@ -29,6 +29,7 @@ MAKE_ENV+= MOTIFLIB="${MOTIFLIB}"
|
||||
|
||||
# We only need USES=xorg if we want USE_XORG modules
|
||||
.if defined(USE_XORG) && !empty(USE_XORG)
|
||||
USES+= xorg
|
||||
.include "${USESDIR}/xorg.mk"
|
||||
.endif
|
||||
|
||||
|
@ -179,6 +179,7 @@ USE_XORG+= fontutil
|
||||
|
||||
# We only need USES=xorg if we want USE_XORG modules
|
||||
. if defined(USE_XORG) && !empty(USE_XORG)
|
||||
USES+= xorg
|
||||
.include "${USESDIR}/xorg.mk"
|
||||
. endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user