Date: Tue, 28 Aug 2018 12:19:06 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478304 - head/Mk Message-ID: <201808281219.w7SCJ6ih005371@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808281219.w7SCJ6ih005371>