Drop machine-id path substitution in post-patch.

r431187 stopped using a non-default path for dbus's machine-id file, so the sed
call here is unnecessary and produces warnings at runtime:

  IBUS-WARNING **: Unable to load /var/db/dbus/machine-id: Failed to open file
  '/var/db/dbus/machine-id': No such file or directory

PR:		218812
Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com>
Approved by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)
MFH:		2017Q2
This commit is contained in:
Raphael Kubo da Costa 2017-04-30 10:58:17 +00:00
parent 1f2800dc44
commit 2ac8717be9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439799

View File

@ -3,7 +3,7 @@
PORTNAME= ibus
PORTVERSION= 1.5.14
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/:DEFAULT \
https://raw.githubusercontent.com/Ranks/emojione/${EMOJIONE_TAG}/:emojione
@ -110,9 +110,6 @@ PLIST_SUB+= COMPDIR="@comment "
post-extract-EMOJI-on:
${CP} ${DISTDIR}/emoji.json ${WRKSRC}/
post-patch:
${REINPLACE_CMD} -e 's|/var/lib/dbus|/var/db/dbus|g' ${WRKSRC}/src/ibusshare.c
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/autostart
${INSTALL_DATA} ${PATCHDIR}/ibus.desktop ${STAGEDIR}${PREFIX}/etc/xdg/autostart