Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2002 19:34:03 +0400
From:      Sergei Vyshenski <svysh@pn.sinp.msu.ru>
To:        freebsd-ports@FreeBSD.ORG
Subject:   PREFIX of Apache
Message-ID:  <5.1.0.14.2.20020401191217.00ac5400@vivaldi.pn.sinp.msu.ru>

next in thread | raw e-mail | index | archive | help
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 <ache@freebsd.org>
(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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20020401191217.00ac5400>