Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 09:41:08 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385452 - head/games/oneko/files
Message-ID:  <201505050941.t459f8l1070640@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue May  5 09:41:07 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)

Added:
  head/games/oneko/files/patch-configure   (contents, props changed)

Added: head/games/oneko/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oneko/files/patch-configure	Tue May  5 09:41:07 2015	(r385452)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505050941.t459f8l1070640>