summaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-03-29 10:15:39 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-03-29 10:15:39 +0000
commitb88e7ba85b710b456bb7c8a6ee7ccaed79543d09 (patch)
tree916efa2577a1cae5b2ec30da02d228d5471fc717 /www/w3m
parentAdd new port lang/stldoc - STL reference manual by SGI (diff)
Fix configure error on -current.
Notes
Notes: svn path=/head/; revision=56856
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/files/patch-configure94
1 files changed, 82 insertions, 12 deletions
diff --git a/www/w3m/files/patch-configure b/www/w3m/files/patch-configure
index bf57cd14a126..c6b170ccb0ff 100644
--- a/www/w3m/files/patch-configure
+++ b/www/w3m/files/patch-configure
@@ -1,16 +1,68 @@
---- 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=\(.*\)"`
+--- configure.orig Tue Feb 12 17:52:58 2002
++++ configure Fri Mar 29 13:23:17 2002
+@@ -53,19 +53,22 @@
+ shift
;;
-+ -helpdir-ja=*|--helpdir-ja=*)
-+ helpdir_ja=`expr "$1" : "-*helpdir-ja=\(.*\)"`
+ -prefix=*|--prefix=*)
+- prefix=`expr "$1" : "-*prefix=\(.*\)"`
++ prefix=`expr \( "$1" : "-*prefix=\(.*\)" \)`
+ ;;
+ -bindir=*|--bindir=*)
+- bindir=`expr "$1" : "-*bindir=\(.*\)"`
++ bindir=`expr \( "$1" : "-*bindir=\(.*\)" \)`
+ ;;
+ -libdir=*|--libdir=*)
+- libdir=`expr "$1" : "-*libdir=\(.*\)"`
++ libdir=`expr \( "$1" : "-*libdir=\(.*\)" \)`
+ ;;
+ -helpdir=*|--helpdir=*)
+- helpdir=`expr "$1" : "-*helpdir=\(.*\)"`
++ helpdir=`expr \( "$1" : "-*helpdir=\(.*\)" \)`
+ ;;
++ -helpdir-ja=*|--helpdir-ja=*)
++ helpdir_ja=`expr \( "$1" : "-*helpdir-ja=\(.*\)" \)`
+ ;;
-sysconfdir=*|--sysconfdir=*)
- sysconfdir=`expr "$1" : "-*sysconfdir=\(.*\)"`
+- sysconfdir=`expr "$1" : "-*sysconfdir=\(.*\)"`
++ sysconfdir=`expr \( "$1" : "-*sysconfdir=\(.*\)" \)`
+ ;;
+ -lang=en|--lang=en|-lang=EN|--lang=EN)
+ lang=EN
+@@ -92,7 +95,7 @@
+ dmodel=6
+ ;;
+ -code=*|--code=*)
+- display_code=`expr "$1" : "-*code=\(.*\)"`
++ display_code=`expr \( "$1" : "-*code=\(.*\)" \)`
;;
-@@ -513,6 +516,16 @@
+ -cflags=*|--cflags=*)
+ dcflags=`echo $1 | sed -e 's/-*cflags=//'`
+@@ -101,19 +104,19 @@
+ dldflags=`echo $1 | sed -e 's/-*ldflags=//'`
+ ;;
+ --ssl-includedir=*)
+- ssl_includedir=`expr "$1" : "--ssl-includedir=\(.*\)"`
++ ssl_includedir=`expr \( "$1" : "--ssl-includedir=\(.*\)" \)`
+ ;;
+ --ssl-libdir=*)
+- ssl_libdir=`expr "$1" : "--ssl-libdir=\(.*\)"`
++ ssl_libdir=`expr \( "$1" : "--ssl-libdir=\(.*\)" \)`
+ ;;
+ --gc-includedir=*)
+- gc_includedir=`expr "$1" : "--gc-includedir=\(.*\)"`
++ gc_includedir=`expr \( "$1" : "--gc-includedir=\(.*\)" \)`
+ ;;
+ --gc-libdir=*)
+- gc_libdir=`expr "$1" : "--gc-libdir=\(.*\)"`
++ gc_libdir=`expr \( "$1" : "--gc-libdir=\(.*\)" \)`
+ ;;
+ --mimetypes=*)
+- mimetypes=`expr "$1" : "--mimetypes=\(.*\)"`
++ mimetypes=`expr \( "$1" : "--mimetypes=\(.*\)" \)`
+ ;;
+
+ -help|--help)
+@@ -541,6 +544,16 @@
helpdir=$_dir
echo "helpdir='$helpdir'" >> config.param
@@ -27,15 +79,33 @@
d_sysconfdir=$sysconfdir
if [ -z "$d_sysconfdir" ]; then
d_sysconfdir="$topdir/etc/w3m"
-@@ -1948,6 +1961,7 @@
+@@ -1189,7 +1202,7 @@
+
+ ####### perl
+ perl=`./which perl`
+-if [ `expr "$perl" : 'not found'` != 0 ]; then
++if [ `expr \( "$perl" : 'not found' \)` != 0 ]; then
+ echo "You don't have perl."
+ perl=/usr/local/bin/perl
+ have_perl=n
+@@ -1976,7 +1989,7 @@
+ cur_ver=`sed -n 's/^#define CURRENT_VERSION *"w3m\/\([^"]*\)".*$/\1/p' version.c`
+ for h_in in w3mhelp-*_*.html.in
+ do
+- h=`expr "$h_in" : '\(.*\)\.in'`
++ h=`expr \( "$h_in" : '\(.*\)\.in' \)`
+ sed -e 's/@CURRENT_VERSION@/'$cur_ver'/' $h_in > $h
+ done
+
+@@ -2067,6 +2080,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 @@
+ RC_DIR = ~/.w3m
+@@ -2140,6 +2154,7 @@
#define LIB_DIR "$libdir"
#define HELP_DIR "$helpdir"