From owner-freebsd-ports Mon Apr 1 7:35:53 2002 Delivered-To: freebsd-ports@freebsd.org Received: from vivaldi.pn.sinp.msu.ru (pn-gw.sinp.msu.ru [213.131.0.178]) by hub.freebsd.org (Postfix) with ESMTP id 33FE637B41C for ; Mon, 1 Apr 2002 07:35:48 -0800 (PST) Received: from handel.pn.sinp.msu.ru (handel.pn.sinp.msu.ru [213.131.11.24]) (authenticated bits=0) by vivaldi.pn.sinp.msu.ru (8.12.2/8.12.2) with ESMTP id g31FZq0v032919 for ; Mon, 1 Apr 2002 19:35:52 +0400 (MSD) (envelope-from svysh@pn.sinp.msu.ru) Message-Id: <5.1.0.14.2.20020401191217.00ac5400@vivaldi.pn.sinp.msu.ru> X-Sender: svysh@vivaldi.pn.sinp.msu.ru X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 01 Apr 2002 19:34:03 +0400 To: freebsd-ports@FreeBSD.ORG From: Sergei Vyshenski Subject: PREFIX of Apache Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear experts, Port apache-1.3.24_1 installs startup script /usr/local/etc/rc.d/apache.sh with the following lines: if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then echo "$0: Cannot determine the PREFIX" >&2 exit 1 fi This naturally dies with "Cannot determine the PREFIX". Had to substitute these 4 lines with PREFIX=/usr/local which brings apache.sh to normal operation. The problem is that each new upgrade of Apache port wipes out my correction. Why at all should this PREFIX be here? Could it be that port installation procedure does not know where apachectl could be found? I am writing to this list because Andrey A. Chernov (who happens to maintain Apache13 port) has never been noticed answering or at least paying a bit of attention to any question about his artwork. Thank you very much ahead of time for any comment. Sergei To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message