From owner-freebsd-ports Sat Jan 31 12:40:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02342 for freebsd-ports-outgoing; Sat, 31 Jan 1998 12:40:07 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02324; Sat, 31 Jan 1998 12:40:04 -0800 (PST) (envelope-from gnats) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01883; Sat, 31 Jan 1998 12:36:22 -0800 (PST) (envelope-from nobody) Message-Id: <199801312036.MAA01883@hub.freebsd.org> Date: Sat, 31 Jan 1998 12:36:22 -0800 (PST) From: hiroo@exp.t.u-tokyo.ac.jp To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/5615: a little problem with lynx installation Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-ports" >Number: 5615 >Category: ports >Synopsis: a little problem with lynx installation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 31 12:40:02 PST 1998 >Last-Modified: >Originator: Hiroo ONO >Organization: >Release: 3.0-971225-SNAP >Environment: FreeBSD nishilab.t.u-tokyo.ac.jp 3.0-971225-SNAP FreeBSD 3.0-971225-SNAP#0: Thu Jan 29 03:17:57 JST 1998 root@nishilab.t.u-tokyo.ac.jp:/usr/src/sys/compile/HIROO i386 >Description: installing lynx from ports-current, the default lynx.cfg file is located at /usr/local/etc/lynx.cfg while hardcoded to be at /usr/local/lib/lynx.cfg so that one should always start lynx with -cfg option or define an alias. >How-To-Repeat: install lynx from /usr/ports/www/lynx and invoke it. >Fix: replacing line below in /usr/ports/www/lynx/work/lynx2-7-1/userdefs.h as follows. orig: #define LYNX_CFG_FILE "/usr/local/lib/lynx.cfg" new: #define LYNX_CFG_FILE "/usr/local/etc/lynx.cfg" as it is encapsulated with #ifndef .. #endif only giving -DLYNX_CFG_FILE=... may suffice maybe, the comment at the head of default lynx.cfg should also be changed. (useless maybe) >Audit-Trail: >Unformatted: