svn commit: r391493 - head/cad/tkgate

John Marino freebsd.contact at marino.st
Tue Jul 7 09:54:13 UTC 2015


On 7/7/2015 11:30 AM, Vsevolod Stakhov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 07/07/2015 07:35, John Marino wrote:
>> Author: marino Date: Tue Jul  7 06:35:35 2015 New Revision: 391493 
>> URL: https://svnweb.freebsd.org/changeset/ports/391493
>>
>> Log: cad/tkgate: Unbreak FreeBSD 11, Fix depends on rest
>>
>> This was specified on USES: iconv:build,lib
>>
>> This is incorrect; the way iconv.mk is written, "build" and "lib"
>> are mutually exclusive and "build" takes precedence.  This means
>> the library dependency was not registered.
>>
>> Moveover, it's failing on FreeBSD 11 and dev-branch of DragonFly
>> because it uses transliteration.  Setting USES=iconv:translit fixes
>> both issues.
>>
>> Approved by:	Just fix it
> 
> Well, from your commit message I can conclude merely that iconv.mk is
> broken by design. 


It is what it is.  Just look at Mk/Uses/iconv.mk
By definition, LIB_DEPENDS pulls in the port for building.  This is true
for all ports.


> Secondly, I don't understand the meaning of
> 'translit' option - it is damn confusing name and I cannot see clearly
> what does it mean in the context of dependencies. 

It means the libc iconv isn't good enough and you need the ports libiconv.

> Thirdly, isn't it a
> polite policy to send a notice to a maintainer *before* committing
> some change to port? 

If the port is broken, it's broken.
"Just fix it" means if somebody knows how to fix breakage shown on
portsmon, we can do.   (You're welcome; I did send a courtesy message
seconds after this commit)

> I'm not arguing about the change itself, but I do
> not understand this 'Just fix it policy' when it's absolutely unclear,
> well at least for me, whether there's a problem with iconv.mk or with
> the port definition.

Weren't you getting pkg-fallout messages for FreeBSD 11?
The problem is with the port.
iconv changed on FreeBSD 11.

John

P.S. You revived this port incorrectly; all the history was lost.
Next time please follow this procedure:
https://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/ports.html#ports-qa-re-adding





More information about the svn-ports-all mailing list