Date: Wed, 23 May 2012 19:27:02 +0100 From: Chris Rees <crees@FreeBSD.org> To: Warren Block <wblock@wonkity.com>, perl <perl@freebsd.org> Cc: swills@freebsd.org, wblock@freebsd.org, jgh@freebsd.org Subject: Re: Porter's Handbook Perl section update Message-ID: <CADLo83_2ax9GR7%2Bf7U593B%2BPQxjpFzP_f5_VsjwzRdoZUQ%2BBMQ@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.1205231101410.48694@wonkity.com>
index | next in thread | previous in thread | raw e-mail
On 23 May 2012 18:11, Warren Block <wblock@wonkity.com> wrote:
> The second note in the Using perl section of the Porter's Handbook was
> unclear to me:
>
> Note: It is recommended to avoid using ${SITE_PERL} as a dependency
> listing. This is problematic because it means that bsd.perl.mk must be
> included to satisfy the dependency. Additionally, if the module's files
> change, it would require changing all dependent ports.
>
> After some talking with jgh@, I've suggested this:
>
> Do not use ${SITE_PERL} in dependency declarations. Doing so
> assumes that bsd.perl.mk has been included, which is not always true.
> Ports depending on this port will have incorrect dependencies if this
> port's files move later in an upgrade. The right way to declare Perl
> module dependencies is shown in the example below.
>
> The second sentence is a little weak, but overall this makes much more
> sense, to me at least. If this looks okay, I'd like to update the Porter's
> Handbook.
[adding perl@]
Please!
Chris
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_2ax9GR7%2Bf7U593B%2BPQxjpFzP_f5_VsjwzRdoZUQ%2BBMQ>
