summaryrefslogtreecommitdiff
path: root/devel/dconf
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-05-25 05:30:43 +0000
committerobache <obache@pkgsrc.org>2014-05-25 05:30:43 +0000
commit1384413621a13adfb01c8435f7f011dade2b98b4 (patch)
treeecce584655353c5f507e2cb3b581f4066729ba59 /devel/dconf
parent9d7d2f0bf3d26670f2bbd725556f49875d5e36ec (diff)
downloadpkgsrc-1384413621a13adfb01c8435f7f011dade2b98b4.tar.gz
Fixes hard-coded dconf database directory name.
Use ${PKG_SYSCONFDIR}/dconf instead of /etc/dconf. Bump PKGREVISION.
Diffstat (limited to 'devel/dconf')
-rw-r--r--devel/dconf/Makefile4
-rw-r--r--devel/dconf/Makefile.common11
2 files changed, 13 insertions, 2 deletions
diff --git a/devel/dconf/Makefile b/devel/dconf/Makefile
index 70605af76eb..c5e49c80190 100644
--- a/devel/dconf/Makefile
+++ b/devel/dconf/Makefile
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2013/12/21 11:31:33 jperkin Exp $
+# $NetBSD: Makefile,v 1.21 2014/05/25 05:30:43 obache Exp $
.include "Makefile.common"
+PKGREVISION= 1
+
CONFIGURE_ARGS+= --disable-editor
PKGCONFIG_OVERRIDE+= client/dconf.pc.in dbus-1/dconf-dbus-1.pc.in
diff --git a/devel/dconf/Makefile.common b/devel/dconf/Makefile.common
index 0b63f568bc8..8111d237d64 100644
--- a/devel/dconf/Makefile.common
+++ b/devel/dconf/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2013/10/29 10:37:39 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.4 2014/05/25 05:30:43 obache Exp $
#
# used by devel/dconf-editor/Makefile
@@ -16,3 +16,12 @@ GNU_CONFIGURE= yes
USE_LANGUAGES= c99
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake intltool msgfmt
+
+SUBST_CLASSES+= sysdir
+SUBST_MESSAGE.sysdir= Fixes hard-coded dconf database directory name
+SUBST_STAGE.sysdir= post-configure
+SUBST_FILES.sysdir= engine/dconf-engine-source-system.c
+SUBST_FILES.sysdir+= tests/engine.c
+SUBST_FILES.sysdir+= bin/dconf-update.c
+SUBST_FILES.sysdir+= bin/dconf-update.vala
+SUBST_SED.sysdir= -e s,/etc/dconf,${PKG_SYSCONFDIR}/dconf,g