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

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Wed, 13 Oct 2021 08:09:36 UTC
On 10/12/21 1:11 AM, Neel Chauhan wrote:
> The branch main has been updated by nc:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=72913e45e14b06c6d7fa3b764c0750aff1c28f5d
> 

> diff --git a/devel/newt/files/patch-configure.ac b/devel/newt/files/patch-configure.ac
> index 6d93d5cd8d6a..0aa883a8777a 100644
> --- 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
> -

Hi Neel,

I got this from one of my friends:

 > ===>  License GPLv2 accepted by the user
 > ===>   newt-0.52.21 depends on file: /usr/local/sbin/pkg - found
 > ===> Fetching all distfiles required by newt-0.52.21 for building
 > ===>  Extracting for newt-0.52.21
 > => SHA256 Checksum OK for newt-0.52.21.tar.gz.
 > ===>  Patching for newt-0.52.21
 > ===>  Applying FreeBSD patches for newt-0.52.21 from 
/usr/ports/devel/newt/files
 > ===>   newt-0.52.21 depends on package: gmake>=4.3 - found
 > ===>   newt-0.52.21 depends on executable: msgfmt - found
 > ===>   newt-0.52.21 depends on file: /usr/local/bin/python3.8 - found
 > ===>   newt-0.52.21 depends on package: autoconf>=2.69 - found
 > ===>   newt-0.52.21 depends on package: automake>=1.16.1 - found
 > ===>   newt-0.52.21 depends on shared library: libpopt.so - found 
(/usr/local/lib/libpopt.so)
 > ===>   newt-0.52.21 depends on shared library: libslang.so - found 
(/usr/local/lib/libslang.so)
 > ===>   newt-0.52.21 depends on shared library: libintl.so - found 
(/usr/local/lib/libintl.so)
 > ===>  Configuring for newt-0.52.21
 > configure: loading site script /usr/ports/Templates/config.site
 > checking for gcc... cc
 > checking whether the C compiler works... yes
 > checking for C compiler default output file name... a.out
 > checking for suffix of executables...
 > checking whether we are cross compiling... no
 > checking for suffix of object files... o
 > checking whether we are using the GNU C compiler... yes
 > checking whether cc accepts -g... yes
 > checking for cc option to accept ISO C89... none needed
 > checking whether ln -s works... yes
 > checking for grep that handles long lines and -e... (cached) 
/usr/bin/grep
 > checking for special C compiler options needed for large files... no
 > checking for _FILE_OFFSET_BITS value needed for large files... no
 > checking how to run the C preprocessor... cpp
 > checking for egrep... (cached) /usr/bin/egrep
 > checking for ANSI C header files... (cached) yes
 > checking for sys/types.h... (cached) yes
 > checking for sys/stat.h... (cached) yes
 > checking for stdlib.h... (cached) yes
 > checking for string.h... (cached) yes
 > checking for memory.h... (cached) yes
 > checking for strings.h... (cached) yes
 > checking for inttypes.h... (cached) yes
 > checking for stdint.h... (cached) yes
 > checking for unistd.h... (cached) yes
 > checking size of long... 8
 > checking size of long long... 8
 > checking size of void *... 8
 > checking for GNU ld... yes
 > checking for sys/select.h... (cached) yes
 > checking for alloca.h... (cached) no
 > checking slang.h usability... yes
 > checking slang.h presence... yes
 > checking for slang.h... yes
 > checking popt.h usability... yes
 > checking popt.h presence... yes
 > checking for popt.h... yes
 > checking libintl.h usability... yes
 > checking libintl.h presence... yes
 > checking for libintl.h... yes
 > checking for python versions... ./configure: 3839: Syntax error: ")" 
unexpected (expecting "fi")
 > ===>  Script "configure" failed unexpectedly.
 > Please report the problem to ports@FreeBSD.org [maintainer] and 
attach the
 > "/usr/ports/devel/newt/work/newt-0.52.21/config.log" including the 
output of
 > the failure of your make command. Also, it might be a good idea to 
provide
 > an overview of all packages installed on your system (e.g. a
 > /usr/local/sbin/pkg-static info -g -Ea).
 > *** Error code 1
 >

--HPS