svn commit: r478304 - head/Mk
Mathieu Arnold
mat at FreeBSD.org
Tue Aug 28 12:19:07 UTC 2018
Author: mat
Date: Tue Aug 28 12:19:06 2018
New Revision: 478304
URL: https://svnweb.freebsd.org/changeset/ports/478304
Log:
Add DEV_WARNING when misusing USES=mate/USES=gnome.
Differential Revision: https://reviews.freebsd.org/D16828
Modified:
head/Mk/bsd.port.mk (contents, props changed)
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Tue Aug 28 12:17:13 2018 (r478303)
+++ head/Mk/bsd.port.mk Tue Aug 28 12:19:06 2018 (r478304)
@@ -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
More information about the svn-ports-all
mailing list