[Bug 259101] devel/newt: configure fails after upgrade 0.52.21

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Oct 2021 08:31:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259101

Stewart Morgan <stewart+FreeBSD-BugZilla@arnos-vale.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stewart+FreeBSD-BugZilla@ar
                   |                            |nos-vale.net

--- Comment #1 from Stewart Morgan <stewart+FreeBSD-BugZilla@arnos-vale.net> ---
Created attachment 228653
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228653&action=edit
Fix for --with-python

The post-patch-PYTHON-on target in Makefile is what breaks configure.ac by
incorrectly assumeing the PYTHONVERS defintion it is updating is on one line
(and presumably it was in the previous release).
Fortunately, the new release's configure.ac file allows specifying the Python
version by argument, so this patch removes the redundant Makefile target and
uses --with-python=${PYTHON_VERSION}.
Works for me on 12.2-amd64 (with Python 3.8)

-- 
You are receiving this mail because:
You are the assignee for the bug.