pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/readline



On 11/25/2016 07:19, Joerg Sonnenberger wrote:
On Thu, Nov 24, 2016 at 05:54:07PM -0600, John Marino wrote:
On 11/24/2016 17:46, Joerg Sonnenberger wrote:
On Thu, Nov 24, 2016 at 11:35:19PM +0000, John Marino wrote:
There is no termcap library available in any form on DragonFly.
Discussed with wiz@.

But termcap.b3.mk already has fallback logic to curses, so that should
be used.


Please note 2 things:
1) the other line "CONFIGURE_ARGS+= --with-curses=yes"

That doesn't invalidate anything I said.

It still requires a conditional statement to handle this configure argument. Unless you have OPSYS-specific configure arguments such as CONFIGURE_ARGS_DragonFly= --with-curses=yes

Once the condition is required, then changing the include is in the noise.


2) none of the curses / termcap logic works on DragonFly, at all.

For many months, curses library is private but the headers were public.
Since pkgsrc doesn't actually test ability to link but only assumes that
header presence == library presence, it's all broken.

Ah, so DragonFly provides a brain dead installation and everything else
should cope. I understand.

wow, do you choose to be this way or can you simply not help it?

Pkgsrc *claims* to support DragonFly. This claim is rather dubious because it's been broken for well over a year. You've been party to related PRs and didn't lift a finger.

If pkgsrc can't utilize readline on a platform, then in effect it doesn't support that platform. The same goes for curses and openssl.

My patch doesn't make anything else "cope". You've got nothing to complain about other than perceived "dirtying".

This wouldn't be necessary if it wasn't for pkgsrc's BRAIN DEAD test procedures that fail to test at least for the presence of the library yourself.

I've been deep into pkgsrc code lately. You guys keep talking about it as if it's a gold standard yet I see example after example of incredibly dumb decisions and implementations that have implications to both performance and portability. There is also a fair amount of cruft in there.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus




Home | Main Index | Thread Index | Old Index