Re: git: 72913e45e14b - main - devel/newt: Update to 0.52.21

From: Christoph Moench-Tegeder <cmt_at_burggraben.net>
Date: Tue, 12 Oct 2021 10:09:39 UTC
## Neel Chauhan (nc@FreeBSD.org):

>     devel/newt: Update to 0.52.21

How was this tested?

With PYTHON=ON (the default), configure fails with
  checking for python versions... ./configure: 3839: Syntax error: ")" unexpected (expecting "fi")
as configure.ac changed and doesn't match the assumptions in
post-patch-PYTHON-on anymore (and as it's just REINPLACE_CMD and not a
proper patch, you'll get no warning on that). In any case, that post-patch
operation isn't even neccessary, according to configure.ac and my tests,
a simple "PYTHON_CONFIGURE_WITH=python=${PYTHON_VERSION}" in our Makefile
just does the job.

> --- a/devel/newt/files/patch-configure.ac
> +++ b/devel/newt/files/patch-configure.ac
> @@ -1,15 +1,6 @@
> ---- configure.ac.orig	2017-03-17 10:36:31 UTC
> +--- configure.ac.orig	2019-05-27 12:57:40 UTC
>  +++ configure.ac
> -@@ -2,7 +2,7 @@ AC_INIT([newt_pr.h])
> - 
> - PACKAGE=newt
> - VERSION=0.52.20
> --SONAME=0.52
> -+SONAME=52

And this breaks packaging and perhaps even usage: this changes the library
name and (as the variable names imply) the SONAME: old was
  SONAME      libnewt.so.52
and new is
  SONAME               libnewt.so.0.52
all the while that change was never mentioned in the commit message.

What the heck? This is not a competition "who has the most commits".

Regards,
Christoph

-- 
Spare Space