1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/games/oneko/files/patch-configure
Jan Beich 85dfbd0707 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)
2015-05-05 09:41:07 +00:00

24 lines
677 B
Plaintext

--- 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