Created attachment 155658 [details] patch to ports staging games/oneko fails. pkg-plist says there must exist stage/usr/local/lib/X11/ja/app-defaults/Oneko, but if building host has /usr/local/lib/X11/ja_JP.eucJP or any other directories with japanese locale-like names, only stage/usr/local/lib/X11/ja_JP.eucJP/app-defaults/Oneko exists; this causes error on packaging.
A commit references this bug: Author: jbeich Date: Tue May 5 09:41:08 UTC 2015 New revision: 385452 URL: https://svnweb.freebsd.org/changeset/ports/385452 Log: games/oneko: unbreak install if locale-specific app-defaults dir exists configure tries to autodetect existing japanese app-defaults and if finds installs there without updating pkg-plist. A quick search turns up the following ports can cause the issue if installed beforehand. deskutils/xcalendar/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/XCalendar games/xshisen/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/XShisen japanese/tgif/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/Tgif.sample x11-clocks/emiclock/pkg-plist:lib/X11/ja_JP.EUC/app-defaults/EmiClock x11-clocks/emiclock/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/EmiClock x11-fonts/nexfontsel/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/NeXFontSel x11/xmascot/pkg-plist:lib/X11/ja_JP.EUC/app-defaults/XMascot x11/xmascot/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/XMascot PR: 199493 Submitted by: turutani@scphys.kyoto-u.ac.jp Approved by: maintainer timeout (2 weeks + 4 days) Changes: head/games/oneko/files/patch-configure
Thanks. Committed.