Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 09:23:51 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        doc@freebsd.org, Pietro Cerutti <gahr@FreeBSD.org>
Subject:   Re: [patch] PH tells crap about GMAKE (Was: Re: svn commit: r340018 - head/textproc/scew)
Message-ID:  <alpine.BSF.2.00.1401240922210.87046@wonkity.com>
In-Reply-To: <20140117141440.GA94157@FreeBSD.org>
References:  <201401170910.s0H9Aw9O087448@svn.freebsd.org> <20140117093546.GA16656@FreeBSD.org> <20140117095020.GD4006@gahrfit.gahr.ch> <20140117141440.GA94157@FreeBSD.org>

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.

--3512871622-1184828063-1390580631=:87046
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Fri, 17 Jan 2014, Alexey Dokuchaev wrote:

> On Fri, Jan 17, 2014 at 10:50:21AM +0100, Pietro Cerutti wrote:
>> On 2014-Jan-17, 09:35, Alexey Dokuchaev wrote:
>>> If possible, particular make(1) implementation should not be referenced in
>>> port's Makefile.  If you need to call "correct" make(1), use ${MAKE_CMD},
>>> which would be correctly set to "gmake" in this case of yours (per USES=
>>> gmake).
>>
>> That makes sense. What about updating [section] 6.4.2 of the porter's
>> handbook?
>
> Indeed, this section needs some love.  Even more, I think it tells something
> that is not true: "GMAKE [variables contains] The full path for gmake if it
> is not in the PATH."
>
> GMAKE is defined in Mk/bsd.commands.mk, and equals to simply "gmake".  It
> is one of the rare cases when absolute (or relative to ${LOCALBASE}) path
> is not used.  I did not observe any indication of some PATH inspection to
> conditionally set GMAKE variable under /usr/ports/Mk.
>
> I also think that Table 6.1 which consists of two rows and columns is, hm,
> ridicule, I guess. :)  IMHO it should be removed.
>
> Please consider attached patch.  It is not a polished gem, and most likely
> would need a review and wordsmithing from doc@ guys.
>
> While here I've also standardized the spelling of "okay", and fixed couple
> of grammar nits.  These changes are not related to GMAKE ones, and probably
> should be committed separately, but I'm not splitting the diff for personal
> convenience, sorry. :)

Attached is a quick editing pass.  I have not tested it for building 
yet, and edited the diff directly, so it has some a new blank line.
--3512871622-1184828063-1390580631=:87046
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=ph-gmake.diff
Content-Transfer-Encoding: BASE64
Content-ID: <alpine.BSF.2.00.1401240923510.87046@wonkity.com>
Content-Description: 
Content-Disposition: attachment; filename=ph-gmake.diff

SW5kZXg6IGJvb2sueG1sDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQotLS0g
Ym9vay54bWwJKHJldmlzaW9uIDQzNTU0KQ0KKysrIGJvb2sueG1sCSh3b3Jr
aW5nIGNvcHkpDQpAQCAtMjAxLDcgKzIwMSw3IEBADQogCSAgICA8ZmlsZW5h
bWU+UkVBRE1FPC9maWxlbmFtZT4gb3IgbWFucGFnZTwvZW1waGFzaXM+OyB0
b28NCiAJICAgIG9mdGVuIHRoZXkgYXJlIG5vdCBhIGNvbmNpc2UgZGVzY3Jp
cHRpb24gb2YgdGhlIHBvcnQgb3INCiAJICAgIGFyZSBpbiBhbiBhd2t3YXJk
IGZvcm1hdCAoZS5nLiwgbWFucGFnZXMgaGF2ZSBqdXN0aWZpZWQNCi0JICAg
IHNwYWNpbmcsIGFzIGl0IGxvb2tzIHBhcnRpY3VsYXJseSBiYWQgd2l0aCBt
b25vc3BhY2VkDQorCSAgICBzcGFjaW5nLCB3aGljaCBsb29rcyBwYXJ0aWN1
bGFybHkgYmFkIHdpdGggbW9ub3NwYWNlZA0KIAkgICAgZm9udHMpLjwvcGFy
YT4NCiAJPC9ub3RlPg0KIA0KQEAgLTUxNSw3ICs1MTUsNyBAQA0KICAgPGNo
YXB0ZXIgeG1sOmlkPSJzbG93Ij4NCiAgICAgPHRpdGxlPlNsb3cgUG9ydGlu
Zz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AgICAgPC9y
b3c+DQotCSAgICA8L3RoZWFkPg0KLQ0KLQkgICAgPHRib2R5Pg0KLQkgICAg
ICA8cm93Pg0KLQkJPGVudHJ5Pjx2YXJuYW1lPlVTRVM9IGdtYWtlPC92YXJu
YW1lPjwvZW50cnk+DQotCQk8ZW50cnk+VGhlIHBvcnQgcmVxdWlyZXMgPGNv
bW1hbmQ+Z21ha2U8L2NvbW1hbmQ+IHRvDQotCQkgIGJ1aWxkLjwvZW50cnk+
DQotCSAgICAgIDwvcm93Pg0KLQ0KLQkgICAgICA8cm93Pg0KLQkJPGVudHJ5
Pjx2YXJuYW1lPkdNQUtFPC92YXJuYW1lPjwvZW50cnk+DQotCQk8ZW50cnk+
VGhlIGZ1bGwgcGF0aCBmb3IgPGNvbW1hbmQ+Z21ha2U8L2NvbW1hbmQ+IGlm
DQotCQkgIGl0IGlzIG5vdCBpbiB0aGUgPGVudmFyPlBBVEg8L2VudmFyPi48
L2VudHJ5Pg0KLQkgICAgICA8L3Jvdz4NCi0JICAgIDwvdGJvZHk+DQotCSAg
PC90Z3JvdXA+DQotCTwvdGFibGU+DQotDQogCTxwYXJhPklmIHlvdXIgcG9y
dCBpcyBhbiBYIGFwcGxpY2F0aW9uIHRoYXQgY3JlYXRlcw0KIAkgIDxmaWxl
bmFtZT5NYWtlZmlsZTwvZmlsZW5hbWU+IGZpbGVzIGZyb20NCiAJICA8Zmls
ZW5hbWU+SW1ha2VmaWxlPC9maWxlbmFtZT4gZmlsZXMgdXNpbmcNCg==

--3512871622-1184828063-1390580631=:87046--



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