Subject: Re: lang/php, www/php4 question
To: None <tech-pkg@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-pkg
Date: 03/10/2006 19:14:36
On Fri, Mar 10, 2006 at 04:47:27PM +0100, Geert Hendrickx wrote:
> On Thu, Mar 09, 2006 at 12:11:47AM +0100, joerg@britannica.bec.de wrote:
> > On Wed, Mar 08, 2006 at 11:36:27PM +0100, Peter Bex wrote:
> > > Is this considered to be correct, a subdir under a pkgsrc category without
> > > a Makefile?
> > 
> > Yes. See lang/python for another example.
> 
> This is indeed confusing, people expect to be able to invoke make in any
> 2nd level pkgsrc directory.  

I disagree. You don't run make install in random directions, and if you
do, you can take care of the results (or the lack thereof).

> > php4 is under www/ mostly for historical reasons. There is one important
> > difference though -- php5 is much more likely to be used stand-alone.
> > I'm not sure how general the purpose of php4 is.
> 
> It could be argued that www/php4 should be re-imported as lang/php4 then
> for consistency.  php4 can be used on the command-line as well.  It's only
> the ap-php package that really belongs in www/.  

I don't think php4 is very useful as stand alone language, like I wrote.
Even www/php4 is the *CGI* interpreter.

Joerg