Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2001 08:23:51 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        Anton Berezin <tobez@tobez.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/www Makefile ports/www/p5-CGI.pm Makefile distinfo pkg-comment pkg-descr pkg-plist
Message-ID:  <20010713082351.Y97456@bohr.physics.purdue.edu>
In-Reply-To: <10787.995019399@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Fri, Jul 13, 2001 at 12:16:39PM %2B0200
References:  <20010713120240.C46563@heechee.tobez.org> <10787.995019399@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 13, 2001 at 12:16:39PM +0200, Sheldon Hearn (sheldonh@starjuice.net) wrote:
> How is the casual observer supposed to interpret the presence of '.pm'
> appended to the port directory name of a p5- port, as distinct from
> other p5- port drectory names that have no such suffix?
> 
> You're just introducing an inconsistency we can do without.

Actually, in my opinion, naming the directories after their
PORTNAME preserves POLA.  Therefore, the names should be

	p5-CGI-modules
	p5-CGI.pm

Also, as I've discussed with Anton, he will add pkg-req scripts
to both to prevent them from clobbering each other.  It's
probably also a good idea to add a check in the scripts to allow
environment overriding of the safety precaution (i.e.: fun fun)
in case the person who adds it knows what they are doing (less
likely than the other case, not to mention these scripts would
also catch people who have ports depending on both for something).

> Now's probably not the time to repeat my suggestion to simply update the
> modules in the base system, is it?  I suppose not.  Instead, let me ask
> how Perl5 knows to try the CGI.pm in ${PREFIX} instead of the one
> supplied by the base system. :-)

You override @INC at some point.  Simple enough.

-- 
wca

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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