Skip to content

Commit

Permalink
graphics/glfw: fix build with EXAMPLES enabled and PREEDIT disabled
Browse files Browse the repository at this point in the history
Both options are non-default.

MFH:	2024Q2
  • Loading branch information
VVD committed Apr 29, 2024
1 parent 58aaf80 commit 0bcd20b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Mk/Uses/mysql.mk
Expand Up @@ -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.
Expand Down
4 changes: 3 additions & 1 deletion graphics/glfw/Makefile
Expand Up @@ -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:
Expand All @@ -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>

0 comments on commit 0bcd20b

Please sign in to comment.