From 85dfbd0707b9b634c0685d63dd596135c9c44bc5 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 5 May 2015 09:41:07 +0000 Subject: [PATCH] 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) --- games/oneko/files/patch-configure | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 games/oneko/files/patch-configure diff --git a/games/oneko/files/patch-configure b/games/oneko/files/patch-configure new file mode 100644 index 000000000000..364a0986614d --- /dev/null +++ b/games/oneko/files/patch-configure @@ -0,0 +1,23 @@ +--- configure.orig 1998-05-27 17:00:37 UTC ++++ configure +@@ -3509,20 +3509,6 @@ mandir=`eval "echo $mandir"` + localedir=$exec_prefix + test "$exec_prefix" = "NONE" && localedir=$prefix + +-for dir in ja_JP ja_JP.AJEC ja_JP.EUC ja_JP.ujis ja_JP.eucJP ja japan japanese \ +- Japanese-EUC japanese.euc ; do +- if test "$dir" != ""; then +- if test -d "$localedir/lib/X11/$dir/app-defaults"; then +- locale=$dir +- break +- else +- if test -d "$mandir/$dir"; then +- locale=$dir +- break +- fi +- fi +- fi +-done + test "$locale" = "" && locale="ja" + + test "$with_pop" = "yes" -o "$with_pop" = "" && cat >> confdefs.h <<\EOF