summaryrefslogtreecommitdiff
path: root/devel/glib2/Makefile
diff options
context:
space:
mode:
authorcirnatdan <cirnatdan@pkgsrc.org>2021-03-30 20:34:10 +0000
committercirnatdan <cirnatdan@pkgsrc.org>2021-03-30 20:34:10 +0000
commit1d79e912d79f4aee1594d0518217b8e96c4cb613 (patch)
tree75e80b837afc6fdd10ccdadd3faf81568ec8bfcc /devel/glib2/Makefile
parent268aa0bb749adb684e053567c7271545ccd5c09e (diff)
downloadpkgsrc-1d79e912d79f4aee1594d0518217b8e96c4cb613.tar.gz
glib2: Fix dbus machine-id path, use localstatedir meson option
Diffstat (limited to 'devel/glib2/Makefile')
-rw-r--r--devel/glib2/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index b0e39713adf..9d8d03ba2a3 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.278 2021/03/30 18:09:45 wiz Exp $
+# $NetBSD: Makefile,v 1.279 2021/03/30 20:34:10 cirnatdan Exp $
.include "Makefile.common"
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel gnome
COMMENT= Some useful routines for C programming (glib2)
@@ -12,6 +12,7 @@ COMMENT= Some useful routines for C programming (glib2)
MESON_ARGS+= -Dinstalled_tests=false
# Avoid linux dependency on libmount-dev
MESON_ARGS+= -Dlibmount=disabled
+MESON_ARGS+= -Dlocalstatedir=${VARBASE}
.if ${OPSYS} == "FreeBSD"
MESON_ARGS+= -Db_lundef=false
.endif
@@ -41,12 +42,6 @@ FILES_SUBST+= GLIB_COMPILE_SCHEMAS=${PREFIX}/bin/glib-compile-schemas
FILES_SUBST+= GLIB_SCHEMAS_DIR=${PREFIX}/share/glib-2.0/schemas
BUILD_DEFS+= VARBASE
-SUBST_CLASSES+= dbusdb
-SUBST_MESSAGE.dbusdb= Adjust dbus machine uuid path to dbus package
-SUBST_STAGE.dbusdb= pre-configure
-SUBST_FILES.dbusdb= gio/gdbusconnection.c
-SUBST_FILES.dbusdb+= po/*.po
-SUBST_SED.dbusdb= -e 's,/var/lib/dbus,${VARBASE}/lib/dbus,g'
SUBST_CLASSES+= xdg
SUBST_MESSAGE.xdg= Adjust XDG_DATA_DIRS so schemas and pixbuf loaders are found