1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

graphics/glfw: fix build with EXAMPLES enabled and PREEDIT disabled

Both options are non-default.

MFH:	2024Q2
This commit is contained in:
Vladimir Druzenko 2024-04-29 16:12:16 +03:00
parent 58aaf801fa
commit 0bcd20b238
2 changed files with 5 additions and 3 deletions

View File

@ -5,8 +5,8 @@
#
# version If no version is given (by the maintainer via the port), try to
# find the currently installed version. Fall back to default if
# necessary (MySQL-8.0 = 80, look at bsd.default-versions.mk for
# possible values).
# necessary (MariaDB-10.11 = 10.11m, look at bsd.default-versions.mk
# for possible values).
# client Depends on the libmysqlclient library (default)
# server Depend on the server at run/build time. If none of these is
# set, depends on the client.

View File

@ -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>