Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2024 13:48:06 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 3360c0b1c2f2 - 2024Q2 - graphics/glfw: fix build with EXAMPLES enabled and PREEDIT disabled
Message-ID:  <202404291348.43TDm6Jw095007@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by vvd:

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

commit 3360c0b1c2f2fea3662483b179e97ab6406eb0c8
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-04-29 13:45:46 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-04-29 13:47:50 +0000

    graphics/glfw: fix build with EXAMPLES enabled and PREEDIT disabled
    
    Both options are non-default.
    
    MFH:    2024Q2
    (cherry picked from commit 49fc7d7276e24a076b3c2495fc8be39939cdece0)
---
 graphics/glfw/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile
index 8b33dd90eda3..3b2e330c99ac 100644
--- a/graphics/glfw/Makefile
+++ b/graphics/glfw/Makefile
@@ -65,6 +65,7 @@ X11_CMAKE_BOOL=	GLFW_BUILD_X11
 
 .if ${PORT_OPTIONS:MEXAMPLES} && ${PORT_OPTIONS:MPREEDIT}
 LIB_DEPENDS+=	libfontconfig.so:x11-fonts/fontconfig
+TESTS_FILES=	input_text
 .endif
 
 do-install-DOCS-on:
@@ -83,8 +84,9 @@ do-install-EXAMPLES-on:
 		${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/tests && ${INSTALL_PROGRAM} \
 		allocator clipboard cursor empty events gamma glfwinfo icon \
-		iconify input_text inputlag joysticks monitors msaa reopen \
+		iconify inputlag joysticks monitors msaa reopen \
 		tearing threads timeout title triangle-vulkan window \
+		${TESTS_FILES} \
 		${STAGEDIR}${EXAMPLESDIR}/tests
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404291348.43TDm6Jw095007>