git: 4be56f35c3c2 - main - devel/gf2: Minor improvement

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 22 Feb 2025 21:07:34 UTC
The branch main has been updated by yuri:

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

commit 4be56f35c3c2d7442545826a41f0bc885916c979
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-02-22 21:07:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-02-22 21:07:32 +0000

    devel/gf2: Minor improvement
---
 devel/gf2/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/devel/gf2/Makefile b/devel/gf2/Makefile
index a5db37c9bc64..eb4f91d526a3 100644
--- a/devel/gf2/Makefile
+++ b/devel/gf2/Makefile
@@ -9,9 +9,12 @@ WWW=		https://github.com/nakst/gf
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libX11.so:x11/libX11 libfreetype.so:print/freetype2
+LIB_DEPENDS=	libfreetype.so:print/freetype2
 RUN_DEPENDS=	${LOCALBASE}/bin/gdb:devel/gdb
 
+USES=		xorg
+USE_XORG=	x11
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	nakst
 GH_PROJECT=	gf