diff options
author | Cy Schubert <cy@FreeBSD.org> | 2025-07-10 07:33:48 -0700 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2025-07-10 07:33:48 -0700 |
commit | 437bb99d3054a89fa3b268e9c32634718e08035b (patch) | |
tree | d71ac59d222a7d9a08b79de99238f8063b09205e /net | |
parent | print/lilypond-devel: Update 2.25.23 => 2.25.26 (diff) |
net/kea-devel: Fix runtime
Strip $prefix (which is $PREFIX) from the runtime /var/run path used
by keactrl. Otherwise it looks for PID files in the wrong place.
Diffstat (limited to 'net')
-rw-r--r-- | net/kea-devel/Makefile | 4 | ||||
-rw-r--r-- | net/kea-devel/files/patch-meson.build | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/net/kea-devel/Makefile b/net/kea-devel/Makefile index 3c98f7fe5bb7..a717243022c3 100644 --- a/net/kea-devel/Makefile +++ b/net/kea-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= kea DISTVERSION= 3.0.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ISC/kea/cur/3.0 PKGNAMESUFFIX= -devel @@ -37,7 +38,8 @@ OPTIONS_DEFINE= DOCS MYSQL PGSQL OPTIONS_SUB= yes MESON_ARGS= --auto-features=disabled \ - -Dnetconf=disabled + -Dnetconf=disabled \ + -Drunstatedir=/var/run MYSQL_USES= mysql MYSQL_MESON_ENABLED= mysql diff --git a/net/kea-devel/files/patch-meson.build b/net/kea-devel/files/patch-meson.build index 3bd6a82abfe7..b93d0f9bc2a8 100644 --- a/net/kea-devel/files/patch-meson.build +++ b/net/kea-devel/files/patch-meson.build @@ -1,5 +1,5 @@ --- meson.build.orig 2025-06-20 09:28:47.000000000 -0700 -+++ meson.build 2025-07-09 22:46:20.088250000 -0700 ++++ meson.build 2025-07-10 02:34:01.835816000 -0700 @@ -59,7 +59,7 @@ # Meson is annoying with its opinionated alteration of certain paths based on whether prefix is default or not. # So we revert what it does. @@ -9,7 +9,7 @@ endif DATABASE_SCRIPTS_DIR = TOP_BUILD_DIR / 'src/share/database/scripts' -@@ -69,10 +69,10 @@ +@@ -69,16 +69,16 @@ KEA_ADMIN_INSTALLED = PREFIX / SBINDIR / 'kea-admin' KEA_LFC_BUILT = TOP_BUILD_DIR / 'src/bin/lfc/kea-lfc' KEA_LFC_INSTALLED = PREFIX / SBINDIR / 'kea-lfc' @@ -22,6 +22,13 @@ if RUNSTATEDIR == '' RUNSTATEDIR = LOCALSTATEDIR / 'run/kea' else + RUNSTATEDIR = RUNSTATEDIR / 'kea' + endif +-RUNSTATEDIR_INSTALLED = PREFIX / RUNSTATEDIR ++RUNSTATEDIR_INSTALLED = RUNSTATEDIR + SHAREDSTATEDIR = LOCALSTATEDIR / 'lib/kea' + SHAREDSTATEDIR_INSTALLED = PREFIX / SHAREDSTATEDIR + SYSCONFDIR_INSTALLED = PREFIX / SYSCONFDIR @@ -88,9 +88,9 @@ # So we revert what it does. if PREFIX == '/usr/local' |