git: 954a40f9df09 - main - deskutils/vym: Fix runtime error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Aug 2026 15:38:24 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=954a40f9df0973c41ccd037507f063ec0dcaebf1
commit 954a40f9df0973c41ccd037507f063ec0dcaebf1
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-08-25 15:26:34 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-08-25 15:38:18 +0000
deskutils/vym: Fix runtime error
- Vym could not find its resources at startup, because the definition
of DATADIR, passed to cmake at build time as a value of VYMBASEDIR,
was inadvertently removed with the latest update.
The definition of VYMBASEDIR is now more similar to the original one.
- Bump PORTREVISION
PR: 297876
---
deskutils/vym/Makefile | 2 +-
deskutils/vym/files/patch-CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/deskutils/vym/Makefile b/deskutils/vym/Makefile
index 67436c568694..712d6ca8a51f 100644
--- a/deskutils/vym/Makefile
+++ b/deskutils/vym/Makefile
@@ -1,7 +1,7 @@
PORTNAME= vym
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= deskutils
MAINTAINER= nivit@FreeBSD.org
diff --git a/deskutils/vym/files/patch-CMakeLists.txt b/deskutils/vym/files/patch-CMakeLists.txt
index 56005289e90e..b87fc035b9b8 100644
--- a/deskutils/vym/files/patch-CMakeLists.txt
+++ b/deskutils/vym/files/patch-CMakeLists.txt
@@ -38,7 +38,7 @@
# so runtime looks in .../share/vym for resources.
set(VYM_SHARE_SUBDIR "vym")
-ADD_COMPILE_DEFINITIONS(VYMBASEDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/${VYM_SHARE_SUBDIR}")
-+ADD_COMPILE_DEFINITIONS(VYMBASEDIR="${DATADIR}")
++ADD_COMPILE_DEFINITIONS(VYMBASEDIR="${CMAKE_INSTALL_DATAROOTDIR}/${VYM_SHARE_SUBDIR}")
+if (VYM_DOCS)
+ADD_COMPILE_DEFINITIONS(VYM_DOCDIR="${DOCSDIR}")
+endif()