diff options
-rw-r--r-- | japanese/linux-netscape47-communicator/Makefile | 2 | ||||
-rw-r--r-- | japanese/linux-netscape47-communicator/files/start.sh.in | 9 | ||||
-rw-r--r-- | japanese/netscape4-communicator/Makefile | 2 | ||||
-rw-r--r-- | japanese/netscape48-communicator/Makefile | 2 |
4 files changed, 11 insertions, 4 deletions
diff --git a/japanese/linux-netscape47-communicator/Makefile b/japanese/linux-netscape47-communicator/Makefile index 01913e353712..fbafeca5b9b3 100644 --- a/japanese/linux-netscape47-communicator/Makefile +++ b/japanese/linux-netscape47-communicator/Makefile @@ -8,6 +8,8 @@ RUN_DEPENDS= ${PREFIX}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/linux-netscape47-${BROWSER} RUN_DEPENDS+= /compat/linux/usr/share/locale/ja_JP:${PORTSDIR}/japanese/linux_locale +MAINTAINER= imura@FreeBSD.org + BROWSER_ARC= ${BROWSER}-linux MASTERDIR_LINUX= ${.CURDIR}/../linux-netscape47-communicator NSUBDIR= lib/netscape-linux diff --git a/japanese/linux-netscape47-communicator/files/start.sh.in b/japanese/linux-netscape47-communicator/files/start.sh.in index ceafe9bfe94d..cefb2e2650f5 100644 --- a/japanese/linux-netscape47-communicator/files/start.sh.in +++ b/japanese/linux-netscape47-communicator/files/start.sh.in @@ -4,7 +4,7 @@ if [ ! -d $HOME/.netscape ]; then cp @RDIR@/preferences.js $HOME/.netscape chmod 644 $HOME/.netscape/preferences.js fi -export LANG=ja_JP.EUC +export LANG=@LANG@ export LC_ALL=${LANG} export LC_CTYPE=${LANG} export MOZILLA_HOME=@NDIR@ @@ -15,4 +15,9 @@ export XAPPLRESDIR=@RDIR@ export TIMID_DIR=/usr/local/lib/timidity export XCMSDB=/dev/null ulimit -c 0 -exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@" +if [ -x /compat/linux/usr/X11R6/lib/libXm-ns.so.1.0.2 ]; then + export LD_PRELOAD=/usr/compat/linux/usr/lib/libg++.so.2.7.2 + exec ${MOZILLA_HOME}/netscape-dynMotif "$@" +else + exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@" +fi diff --git a/japanese/netscape4-communicator/Makefile b/japanese/netscape4-communicator/Makefile index 7624b4e569cb..e8399fcc4c2c 100644 --- a/japanese/netscape4-communicator/Makefile +++ b/japanese/netscape4-communicator/Makefile @@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_PORTS_JP} \ http://www.bres.tsukuba.ac.jp/~yohta/netscape/ DISTNAME?= communicator-ja-euc-v407-export.generic-generic-generic -MAINTAINER= sada@FreeBSD.org +MAINTAINER?= sada@FreeBSD.org # ?= for ports that include this Makefile RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape${BROWSER_VER}-${BROWSER} diff --git a/japanese/netscape48-communicator/Makefile b/japanese/netscape48-communicator/Makefile index 7624b4e569cb..e8399fcc4c2c 100644 --- a/japanese/netscape48-communicator/Makefile +++ b/japanese/netscape48-communicator/Makefile @@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_PORTS_JP} \ http://www.bres.tsukuba.ac.jp/~yohta/netscape/ DISTNAME?= communicator-ja-euc-v407-export.generic-generic-generic -MAINTAINER= sada@FreeBSD.org +MAINTAINER?= sada@FreeBSD.org # ?= for ports that include this Makefile RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape${BROWSER_VER}-${BROWSER} |