In the revision 434379[1], the path of the executable moc-qt4 has changed[2]: %%QT_BINDIR%%/moc-qt4 ==> %%QT_BINDIR%%/moc This breaks gcin because the path is hard-coded in the Makefile. The proposed patch is: Index: chinese/gcin/Makefile =================================================================== --- chinese/gcin/Makefile (revision 435057) +++ chinese/gcin/Makefile (working copy) @@ -41,7 +41,7 @@ s,-ldl,,; \ s,mandir=$$datadir,mandir=$$prefix,; \ s,/usr/share,$$prefix/share,; \ - s,/usr/bin/moc,${LOCALBASE}/bin/moc-qt4,; \ + s,/usr/bin/moc,${LOCALBASE}/bin/moc,; \ 1, 300 s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,; \ /GCIN_DEBUG/ d' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,; \ [1] https://svnweb.freebsd.org/changeset/ports/434379 [2] https://svnweb.freebsd.org/ports/head/devel/qt4-moc/pkg-plist?r1=434380&r2=434379&pathrev=434380
A commit references this bug: Author: vanilla Date: Sat Mar 4 15:51:24 UTC 2017 New revision: 435414 URL: https://svnweb.freebsd.org/changeset/ports/435414 Log: 1: regen patch files. 2: fix MOC's path. PR: 217486 Submitted by: yunchih@csie.ntu.edu.tw Changes: head/chinese/gcin/Makefile head/chinese/gcin/files/patch-Makefile head/chinese/gcin/files/patch-modules__Makefile head/chinese/gcin/files/patch-qt4-im__Makefile