freebsd-ports/www/w3m/files/patch-configure
MANTANI Nobutaka d60709a1f0 Update www/w3m to 0.2.3.2, www/w3m-img to 0.2.3.2+1.17 and
www/w3m-m17n to 0.2.3.2+20011230.
2002-01-06 08:23:02 +00:00

45 lines
1.2 KiB
Text

--- configure.orig Fri Dec 21 11:11:50 2001
+++ configure Sun Jan 6 15:25:08 2002
@@ -64,6 +64,9 @@
-helpdir=*|--helpdir=*)
helpdir=`expr "$1" : "-*helpdir=\(.*\)"`
;;
+ -helpdir-ja=*|--helpdir-ja=*)
+ helpdir_ja=`expr "$1" : "-*helpdir-ja=\(.*\)"`
+ ;;
-sysconfdir=*|--sysconfdir=*)
sysconfdir=`expr "$1" : "-*sysconfdir=\(.*\)"`
;;
@@ -513,6 +516,16 @@
helpdir=$_dir
echo "helpdir='$helpdir'" >> config.param
+d_helpdir_ja=$helpdir_ja
+if [ -z "$d_helpdir_ja" ]; then
+ d_helpdir_ja="$topdir/share/w3m"
+fi
+echo "Which directory do you want to put the Japanese helpfile?"
+Echo "(default: $d_helpdir_ja) "
+readdir "$d_helpdir_ja"
+helpdir_ja=$_dir
+echo "helpdir_ja='$helpdir_ja'" >> config.param
+
d_sysconfdir=$sysconfdir
if [ -z "$d_sysconfdir" ]; then
d_sysconfdir="$topdir/etc/w3m"
@@ -1948,6 +1961,7 @@
BIN_DIR = $bindir
HELP_DIR = $helpdir
+HELP_DIR_JA = $helpdir_ja
LIB_DIR = $libdir
ETC_DIR = $sysconfdir
HELP_FILE = $helpfile
@@ -2007,6 +2021,7 @@
#define LIB_DIR "$libdir"
#define HELP_DIR "$helpdir"
+#define HELP_DIR_JA "$helpdir_ja"
#define ETC_DIR "$sysconfdir"
#define HELP_FILE "w3mhelp.html"
#define HELP_CGI "w3mhelp"