diff options
author | mat <mat@FreeBSD.org> | 2018-08-28 20:19:06 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-08-28 20:19:06 +0800 |
commit | e716fb542daea5d778dc0c9ea89fc228063411b5 (patch) | |
tree | e4baa4c5cf38a975dc0636e0aa4ce9f9cb944264 /Mk | |
parent | 8c78f329571f32c444d59f349544454095bbb9bb (diff) | |
download | freebsd-ports-gnome-e716fb542daea5d778dc0c9ea89fc228063411b5.tar.gz freebsd-ports-gnome-e716fb542daea5d778dc0c9ea89fc228063411b5.tar.zst freebsd-ports-gnome-e716fb542daea5d778dc0c9ea89fc228063411b5.zip |
Add DEV_WARNING when misusing USES=mate/USES=gnome.
Differential Revision: https://reviews.freebsd.org/D16828
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 5730557f93db..b327e320e234 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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 |