Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 21:42:30 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Thierry Thomas <thierry@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/sysutils/pear-Log Makefile
Message-ID:  <E59045D3-FB85-11D8-B720-00039312D914@fillmore-labs.com>
In-Reply-To: <20040831184212.GA52389@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thierry Thomas wrote:

> Le Mar 31 ao=FB 04 =E0 19:46:10 +0200, Oliver Eikemeier=20
> <eikemeier@fillmore-labs.com>
>  =E9crivait=A0:
>> This hardcodes LOCALBASE as /usr/local, besides ports should avoid
>> variables beginning with an underscore, since they are often used as
>> bsd.port.mk private variables.
>
> Yes, pear-PEAR/Makefile.common uses such variables. Of course, they
> could be renamed, if needed, but that would imply modifications in a =
lot
> of pear-* ports.

Perhaps we can integrate this either in bsd.php.mk or make an=20
bsd.pear.mk out of it. Variables starting with an underscore shouldn't=20=

be used in ports, and there should be no global configuration file in=20
/usr/local/etc. Besides, this might gives us the chance to make this=20
PREFIX safe.

>> Besides, looking at pear-PEAR/Makefile.common is looks like pear =
ports
>> are inherently not PREFIX safe, or am I wrong here?
>
> Pear ports cannot be strictly PREFIX safe: they are PHP_BASE safe.
> There is the same problem with some ports which need to install under
> X11BASE, or Apache modules, or mozilla extensions, etc.

There is no such thing as a PHP_BASE. Ports have to install all their=20
files into PREFIX. X11BASE is settable in bsd.port.mk, we are working on=20=

the problem of the apache modules, and mozilla extensions are PREFIX=20
safe AFAIK.

Besides, it looks like specifying a different PREFIX/LOCALBASE will=20
break the packing list.

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E59045D3-FB85-11D8-B720-00039312D914>