Add DEV_WARNING when misusing USES=mate/USES=gnome.
Differential Revision: https://reviews.freebsd.org/D16828
This commit is contained in:
parent
dbbadf1a9b
commit
10f4bcf2b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478304
@ -1416,11 +1416,13 @@ USES+= apache:${USE_APACHE:C/2([0-9])/2.\1/g}
|
||||
.include "${PORTSDIR}/Mk/bsd.gecko.mk"
|
||||
.endif
|
||||
|
||||
.if defined(USE_GNOME) || defined(INSTALLS_ICONS)
|
||||
.if (defined(USE_GNOME) || defined(INSTALLS_ICONS)) && empty(USES:Mgnome)
|
||||
DEV_WARNING+= "Using USE_GNOME alone is deprecated, please add USES=gnome."
|
||||
USES+= gnome
|
||||
.endif
|
||||
|
||||
.if defined(USE_MATE)
|
||||
.if defined(USE_MATE) && empty(USES:Mmate)
|
||||
DEV_WARNING+= "Using USE_MATE alone is deprecated, please add USES=mate."
|
||||
USES+= mate
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user