Created attachment 156543 [details] A patch for japanese/kanji26 Due to massive updates which is related with USES=fonts [1], japanese/kanji26 fails to update fonts.alias. (1) Fix pathnames in INSTALL.tmpl and DEINSTALL.tmpl. (2) Remove mkfontdir from INSTALL.tmpl and DEINSTALL.tmpl. It is handled by USES=fonts automatically. (3) Remove fonts.dir deleting code from DEINSTALL.tmpl. It is handled by USES=fonts automatically. A small problem still remains. If "%%LOCALBASE%%/bin/xset fp rehash" is failed, these scripts shows the message below: | ********************************************************** | You should restart X server or do 'xset fp rehash' command | to enable this update. | ********************************************************** But now the fonts are installed to ${PREFIX}/share/fonts/kanji which is not listed in the default X's FontPath. So the message is not enough for appropriate fontpath setting. [1] https://svnweb.freebsd.org/ports?view=revision&revision=381876
Created attachment 156544 [details] poudriere testport log without the patch (10.1-RELEASE amd64)
Created attachment 156545 [details] poudriere testport log with the patch (10.1-RELEASE amd64)
A commit references this bug: Author: sanpei Date: Sat Jul 18 02:10:58 UTC 2015 New revision: 392404 URL: https://svnweb.freebsd.org/changeset/ports/392404 Log: fix issues related with USES=fonts PR: 200064, 200065 Submitted by: WATANABE Kazuhiro Changes: head/japanese/kanji18/Makefile head/japanese/kanji18/files/DEINSTALL.tmpl head/japanese/kanji18/files/INSTALL.tmpl head/japanese/kanji26/files/DEINSTALL.tmpl head/japanese/kanji26/files/INSTALL.tmpl