From 77952b18db873bf971f3921778c8eed37806cad0 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Wed, 9 Sep 2015 01:06:56 +0000 Subject: [PATCH] Replace "/etc" with $PREFIX/etc. Without this change ibus-dconf won't be able to save input method engine preferences. PR: ports/197191 Submitted by: Christopher Hall Approved by: maintainer timeout (> 6 months) MFH: 2015Q3 --- devel/dconf/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/dconf/Makefile b/devel/dconf/Makefile index a56960b1eb41..3df02ecff096 100644 --- a/devel/dconf/Makefile +++ b/devel/dconf/Makefile @@ -3,6 +3,7 @@ PORTNAME= dconf PORTVERSION= 0.24.0 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= GNOME DISTNAME= dconf-${PORTVERSION} @@ -24,6 +25,7 @@ LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ + -e 's|"/etc"|"${PREFIX}/etc"|g' \ ${WRKSRC}/engine/dconf-engine.c \ ${WRKSRC}/engine/dconf-engine-profile.c \ ${WRKSRC}/engine/dconf-engine-source-system.c \