aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-05-05 17:41:07 +0800
committerjbeich <jbeich@FreeBSD.org>2015-05-05 17:41:07 +0800
commit9470db084134f21c34657883405619998f5ee349 (patch)
tree89b8e4cb937f335c3d193984b9fed637305759d8
parentd92bcac30e6a726c8bd9a8ccb3bacd62d208e49b (diff)
downloadfreebsd-ports-gnome-9470db084134f21c34657883405619998f5ee349.tar.gz
freebsd-ports-gnome-9470db084134f21c34657883405619998f5ee349.tar.zst
freebsd-ports-gnome-9470db084134f21c34657883405619998f5ee349.zip
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)
-rw-r--r--games/oneko/files/patch-configure23
1 files changed, 23 insertions, 0 deletions
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