Date: Wed, 23 May 2012 14:25:17 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Chris Rees <crees@FreeBSD.org> Cc: swills@FreeBSD.org, perl <perl@FreeBSD.org>, wblock@FreeBSD.org, jgh@FreeBSD.org Subject: Re: Porter's Handbook Perl section update Message-ID: <alpine.BSF.2.00.1205231414180.49763@wonkity.com> In-Reply-To: <CADLo83_2ax9GR7%2Bf7U593B%2BPQxjpFzP_f5_VsjwzRdoZUQ%2BBMQ@mail.gmail.com> References: <alpine.BSF.2.00.1205231101410.48694@wonkity.com> <CADLo83_2ax9GR7%2Bf7U593B%2BPQxjpFzP_f5_VsjwzRdoZUQ%2BBMQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1945249235-1337804717=:49763 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 23 May 2012, Chris Rees wrote: > 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! (Taking that as "please go ahead" rather than "please go away".) The attached diff replaces that note, cleans up some use of commas and minor wording, and removes <literal> tags around "Perl" when talking about the language rather than the specific interpreter. Capitalization is also changed as in http://learn.perl.org/faq/perlfaq1.html#Whats-the-difference-between-perl-and-Perl- I tried this with <application> tags around every instance of Perl, and reading it was like listening to someone who Pronounces Capitals. One use of <application> in the title seems adequate. Feedback welcome. Thanks! ---902635197-1945249235-1337804717=:49763 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-porters-perl.diff Content-Transfer-Encoding: BASE64 Content-ID: <alpine.BSF.2.00.1205231425170.49763@wonkity.com> Content-Description: Content-Disposition: attachment; filename=patch-porters-perl.diff SW5kZXg6IGRvYy9lbl9VUy5JU084ODU5LTEvYm9va3MvcG9ydGVycy1oYW5k Ym9vay9ib29rLnNnbWwNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCi0tLSBk b2MvZW5fVVMuSVNPODg1OS0xL2Jvb2tzL3BvcnRlcnMtaGFuZGJvb2svYm9v ay5zZ21sCShyZXZpc2lvbiAzODg3NikNCisrKyBkb2MvZW5fVVMuSVNPODg1 OS0xL2Jvb2tzL3BvcnRlcnMtaGFuZGJvb2svYm9vay5zZ21sCSh3b3JraW5n IGNvcHkpDQpAQCAtNTQ2MSwxMSArNTQ2MSwxMSBAQA0KICAgICA8L3NlY3Qx Pg0KIA0KICAgICA8c2VjdDEgaWQ9InVzaW5nLXBlcmwiPg0KLSAgICAgIDx0 aXRsZT5Vc2luZyA8bGl0ZXJhbD5wZXJsPC9saXRlcmFsPjwvdGl0bGU+DQor ICAgICAgPHRpdGxlPlVzaW5nIDxhcHBsaWNhdGlvbj5QZXJsPC9hcHBsaWNh dGlvbj48L3RpdGxlPg0KIA0KICAgICAgIDxwYXJhPklmIDxtYWtldmFyPk1B U1RFUl9TSVRFUzwvbWFrZXZhcj4gaXMgc2V0IHRvDQotCTxtYWtldmFyPk1B U1RFUl9TSVRFX1BFUkxfQ1BBTjwvbWFrZXZhcj4sIHRoZW4gcHJlZmVycmVk IHZhbHVlDQotCW9mIDxtYWtldmFyPk1BU1RFUl9TSVRFX1NVQkRJUjwvbWFr ZXZhcj4gaXMgdG9wL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8L2ZpbGVu YW1lPiBoYXMgYmVlbiBpbmNsdWRlZCwgd2hpY2ggaXMNCisJICBub3QgYWx3 YXlzIHRydWUuICBQb3J0cyBkZXBlbmRpbmcgb24gdGhpcyBwb3J0IHdpbGwg aGF2ZQ0KKwkgIGluY29ycmVjdCBkZXBlbmRlbmNpZXMgaWYgdGhpcyBwb3J0 J3MgZmlsZXMgbW92ZSBsYXRlciBpbiBhbg0KKwkgIHVwZ3JhZGUuICBUaGUg cmlnaHQgd2F5IHRvIGRlY2xhcmUgUGVybCBtb2R1bGUgZGVwZW5kZW5jaWVz DQorCSAgaXMgc2hvd24gaW4gdGhlIGV4YW1wbGUgYmVsb3cuPC9wYXJhPg0K ICAgICAgIDwvbm90ZT4NCiANCiAgICAgICA8ZXhhbXBsZSBpZD0idXNlLXBl cmwtZGVwZW5kZW5jeS1leGFtcGxlIj4NCi0JPHRpdGxlPlBFUkwgRGVwZW5k ZW5jeSBFeGFtcGxlPC90aXRsZT4NCisJPHRpdGxlPlBlcmwgRGVwZW5kZW5j eSBFeGFtcGxlPC90aXRsZT4NCiANCiAJPHByb2dyYW1saXN0aW5nPnA1LUlP LVRlZSZndDs9MC42NDoke1BPUlRTRElSfS9kZXZlbC9wNS1JTy1UZWU8L3By b2dyYW1saXN0aW5nPg0KICAgICAgIDwvZXhhbXBsZT4NCg== ---902635197-1945249235-1337804717=:49763--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205231414180.49763>