git: ac89e16f26fc - main - editors/emacs-devel: limit wayland category to PGTK option

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 21 Dec 2022 17:57:59 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac89e16f26fceef6fca2dbab8f14a0cbc964233a

commit ac89e16f26fceef6fca2dbab8f14a0cbc964233a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-21 17:38:48 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-21 17:57:14 +0000

    editors/emacs-devel: limit wayland category to PGTK option
    
    Don't advertise -nox flavor (no GUI) as having Wayland support.
---
 editors/emacs-devel/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile
index 8f8492f189be..ffd61dd1ffb6 100644
--- a/editors/emacs-devel/Makefile
+++ b/editors/emacs-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	emacs
 DISTVERSION=	30.0.50.20221216
 PORTEPOCH=	3
-CATEGORIES=	editors wayland
+CATEGORIES=	editors
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	emacs@FreeBSD.org
@@ -181,6 +181,7 @@ OTF_LIB_DEPENDS=		libotf.so:print/libotf
 OTF_CONFIGURE_WITH=		libotf
 PGTK_IMPLIES=			CAIRO GTK3
 PGTK_PREVENTS=			M17N XFT XPM
+PGTK_CATEGORIES=		wayland
 PGTK_CONFIGURE_WITH=		pgtk
 PNG_LIB_DEPENDS=		libpng.so:graphics/png
 PNG_CONFIGURE_WITH=		png