0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-11-01 23:08:51 +00:00
Files
termux-packages/x11-packages/gnucash/xdg-prefix.patch
Adam Cozzette 2cd112e192 addpkg(x11/gnucash): 5.13
Credit goes to @robertkirkman for doing most of the hard work of actually
getting this to build! I largely copied Robert's changes with permission.

Fixes #20259.
2025-10-28 16:47:36 -05:00

12 lines
543 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -108,7 +108,7 @@ set(LIBDIR ${CMAKE_INSTALL_LIBDIR} CACHE STRING "object code libraries")
set(LOCALEDIR ${DATAROOTDIR}/locale CACHE STRING "locale-dependent data")
set(GNC_HELPDIR ${DATADIR} CACHE STRING "where to store help files")
set(DATADIRNAME share)
-set(GNC_SYSTEM_XDG_DATA_DIRS /usr/local/share /usr/share)
+set(GNC_SYSTEM_XDG_DATA_DIRS @TERMUX_PREFIX@/share)
if (NOT DEFINED GNC_DBD_DIR)
set(GNC_DBD_DIR $ENV{GNC_DBD_DIR} CACHE PATH "Hint for location of libdbi-drivers.")
endif()