FreeBSD Bugzilla – Attachment 255698 Details for
Bug 273605
audio/pulseaudio: Daemon startup failed in system-wide mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Globally override --localstatedir
bug273605.diff (text/plain), 4.87 KB, created by
Jan Beich
on 2024-12-08 08:54:58 UTC
(
hide
)
Description:
Globally override --localstatedir
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2024-12-08 08:54:58 UTC
Size:
4.87 KB
patch
obsolete
>From a04c4b707b61686806b110b122fc046767ff4193 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Sun, 8 Dec 2024 09:38:09 +0100 >Subject: [PATCH] Mk/Uses/meson.mk: pass --localstatedir like GNU_CONFIGURE > after 9f4546a03cc0 > >Meson defaults to --localstatedir=/var/local if --prefix=/usr/local >but this is not valid for ports/ or FreeBSD hier(7). > >See also 68edbeeaae96 and >https://github.com/mesonbuild/meson/commit/24549dbed5fe > >PR: 273605 >Analyzed by: Tatsuki Makino >Exp-run by: antoine >--- > Mk/Uses/meson.mk | 1 + > devel/glib20/Makefile | 1 - > devel/libvirt/Makefile | 7 ++----- > ports-mgmt/packagekit/Makefile | 2 +- > sysutils/accountsservice/Makefile | 1 - > sysutils/polkit/Makefile | 1 - > sysutils/upower/Makefile | 1 - > x11-fonts/fontconfig/Makefile | 1 - > 8 files changed, 4 insertions(+), 11 deletions(-) > >diff --git a/Mk/Uses/meson.mk b/Mk/Uses/meson.mk >index 571e8a990be0..eded01a885bf 100644 >--- a/Mk/Uses/meson.mk >+++ b/Mk/Uses/meson.mk >@@ -33,6 +33,7 @@ BUILD_DEPENDS+= meson:devel/meson > USE_LOCALE?= en_US.UTF-8 > > CONFIGURE_ARGS+= --prefix ${PREFIX} \ >+ --localstatedir /var \ > --infodir ${INFO_PATH} > > # Enable all optional features to make builds deterministic. Consumers can >diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile >index bfa1544a3e2f..cb86d34901ac 100644 >--- a/devel/glib20/Makefile >+++ b/devel/glib20/Makefile >@@ -32,7 +32,6 @@ MESON_ARGS= -Db_lundef=false \ > -Dinstalled_tests=false \ > -Dintrospection=disabled \ > -Dlibmount=disabled \ >- -Dlocalstatedir=/var \ > -Druntime_dir=/var/run \ > -Dselinux=disabled \ > -Dsysprof=disabled \ >diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile >index b73b94317ebb..96500977e6fe 100644 >--- a/devel/libvirt/Makefile >+++ b/devel/libvirt/Makefile >@@ -71,8 +71,6 @@ LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2 > > ZFS_MESON_ENABLED= storage_zfs > >-VARDIR= /var >- > MESON_ARGS+= \ > -Dapparmor=disabled \ > -Dapparmor_profiles=disabled \ >@@ -122,8 +120,7 @@ MESON_ARGS+= \ > -Dwireshark_dissector=disabled \ > -Dinit_script=none \ > -Dbash_completion=disabled \ >- -Duserfaultfd_sysctl=disabled \ >- -Dlocalstatedir=${VARDIR} >+ -Duserfaultfd_sysctl=disabled > > # random_data fix can be removed when 8.x is eol > CONFIGURE_ENV= ac_cv_type_struct_random_data="" >@@ -203,7 +200,7 @@ post-install: > lib/libvirt/network \ > lib/libvirt/qemu/channel/target \ > cache/libvirt/qemu >- @${MKDIR} "${STAGEDIR}/${VARDIR}/${dir}" >+ @${MKDIR} "${STAGEDIR}/var/${dir}" > .endfor > > .for file in ${CONF_FILES} >diff --git a/ports-mgmt/packagekit/Makefile b/ports-mgmt/packagekit/Makefile >index 405978bfc380..bf0290e2eb9f 100644 >--- a/ports-mgmt/packagekit/Makefile >+++ b/ports-mgmt/packagekit/Makefile >@@ -27,7 +27,7 @@ USE_LDCONFIG= yes > CPE_VENDOR= packagekit_project > SHEBANG_FILES= contrib/cron/packagekit-background.cron > >-MESON_ARGS= -Dlocalstatedir=/var -Dsysconfdir=${PREFIX}/etc \ >+MESON_ARGS= -Dsysconfdir=${PREFIX}/etc \ > -Dpackaging_backend=freebsd -Dsystemd=false -Doffline_update=false \ > -Dbash_completion=false -Dbash_command_not_found=false \ > -Dgstreamer_plugin=false >diff --git a/sysutils/accountsservice/Makefile b/sysutils/accountsservice/Makefile >index 95c78eed1ac9..d7b57124c667 100644 >--- a/sysutils/accountsservice/Makefile >+++ b/sysutils/accountsservice/Makefile >@@ -22,7 +22,6 @@ USE_LDCONFIG= yes > MESON_ARGS= -Dconsolekit=true \ > -Dgdmconffile=${LOCALBASE}/etc/gdm/custom.conf \ > -Dlightdmconffile=${LOCALBASE}/etc/lightdm/lightdm.conf \ >- -Dlocalstatedir=/var \ > -Dsystemdsystemunitdir=no \ > -Dvapi=false \ > -Dtests=false >diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile >index 432a074478a4..2a5b51483b3e 100644 >--- a/sysutils/polkit/Makefile >+++ b/sysutils/polkit/Makefile >@@ -32,7 +32,6 @@ MESON_ARGS= -Dpam_include=system \ > -Dsession_tracking=ConsoleKit \ > -Dtests=false \ > -Dintrospection=true \ >- -Dlocalstatedir=/var \ > -Dgtk_doc=false > > OPTIONS_DEFINE= MANPAGES >diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile >index 6c05643139fe..e32dbca3355a 100644 >--- a/sysutils/upower/Makefile >+++ b/sysutils/upower/Makefile >@@ -20,7 +20,6 @@ USE_GNOME= glib20 introspection:build > USE_LDCONFIG= yes > MESON_ARGS= -Dgtk-doc=false \ > -Dos_backend=freebsd \ >- -Dlocalstatedir=/var \ > -Dudevrulesdir=no \ > -Dudevhwdbdir=no \ > -Dsystemdsystemunitdir=no \ >diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile >index 1418e8e48fe5..6d2d51eaa975 100644 >--- a/x11-fonts/fontconfig/Makefile >+++ b/x11-fonts/fontconfig/Makefile >@@ -35,7 +35,6 @@ SUB_LIST= LOCALBASE=${LOCALBASE} > MESON_ARGS= -Ddefault_library=both -Ddoc=disabled -Dcache-build=disabled \ > -Ddefault-fonts-dirs=${PREFIX}/share/fonts \ > -Dadditional-fonts-dirs=${LOCALBASE}/lib/X11/fonts \ >- -Dlocalstatedir=/var \ > -Dcache-dir=/var/db/fontconfig \ > -Dtemplate-dir=${LOCALBASE}/etc/fonts/conf.avail \ > -Dxml-dir=${LOCALBASE}/etc/fonts
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273605
:
255698
|
255699
|
255700