diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-05-01 18:59:41 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-05-01 18:59:41 +0000 |
commit | 83a9886c0ab87ef4a00fe5eaa007ca5619e8a528 (patch) | |
tree | 245e9a9e918b534bf00cbf3b6919a26e5594f053 /gnu/usr.bin/lynx/cfg_defs.sh | |
parent | 44b1bba2a33b56bcaa32d20a6c76f14845797fb0 (diff) |
Update to lynx-2.8.4-rel1, patchset d, now with IPv6 as well
Local patches we maintain to the distribution are:
- replace unbounded fscanf with fgets (avsm)
- spelling fixes (deraadt)
- hppa -O0 workaround (mickey)
- default to ftp passive (deraadt)
- work with non-exec scripts (deraadt,hin,maja)
- be more careful with rlogin username (art)
- default to our webpage (deraadt)
- install helpfiles locally (maja)
- mkdtemp temp space directory (art)
- install more recent config.guess (avsm)
Tested by beck,millert,grange,fries,miod and others, deraadt@ ok
Diffstat (limited to 'gnu/usr.bin/lynx/cfg_defs.sh')
-rw-r--r-- | gnu/usr.bin/lynx/cfg_defs.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/usr.bin/lynx/cfg_defs.sh b/gnu/usr.bin/lynx/cfg_defs.sh index b0a51b4e825..80a7c852c61 100644 --- a/gnu/usr.bin/lynx/cfg_defs.sh +++ b/gnu/usr.bin/lynx/cfg_defs.sh @@ -2,8 +2,7 @@ # Translate the lynx_cfg.h and config.cache data into a table, useful for # display at runtime. -SRCDIR=`dirname $0` - +TOP="${1-.}" OUT=cfg_defs.h cat >$OUT <<EOF @@ -21,7 +20,7 @@ sed \ -e 's/^.[^=]*_cv_//' \ -e 's/=\${.*=/=/' \ -e 's/}$//' \ - config.cache | /bin/sh ${SRCDIR}/cfg_edit.sh >>$OUT + config.cache | /bin/sh $TOP/cfg_edit.sh >>$OUT cat >>$OUT <<EOF }; @@ -37,7 +36,7 @@ sed -e 's@ @ @g' \ -e 's@^[ ]*#define[ ]*@@' \ -e 's@[ ]*/\*.*\*/@@' \ -e 's@[ ][ ]*@=@' \ - | /bin/sh ${SRCDIR}/cfg_edit.sh >>$OUT + | /bin/sh $TOP/cfg_edit.sh >>$OUT cat >>$OUT <<EOF }; |