Summary: | devel/newt: configure fails after upgrade 0.52.21 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Boris Korzun <drtr0jan> | ||||
Component: | Individual Port(s) | Assignee: | Neel Chauhan <nc> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | nc, olivierw1+bugzilla-freebsd, ports, stewart+FreeBSD-BugZilla | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Boris Korzun
2021-10-12 12:30:26 UTC
Created attachment 228653 [details]
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)
Just to add that, though not strictly related to this bug, I also had to change the SOVERSION variable so that it matched the pkg-plist: -SOVERSION= ${PORTVERSION:R:E} +SOVERSION= ${PORTVERSION:R} Hi Stewart, thx for the patch. It works for me on stable/13-amd64 also. Committed! A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6147179016a67da893ace8f2df6d8c89e56ad0bb commit 6147179016a67da893ace8f2df6d8c89e56ad0bb Author: Boris Korzun <drtr0jan@yandex.ru> AuthorDate: 2021-10-13 15:12:23 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2021-10-13 15:12:23 +0000 devel/newt: Fix configure failure after update to 0.52.21 PR: 259101 devel/newt/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (In reply to Neel Chauhan from comment #4) Hi Neel, thx for the commit. But I am not an author. Stewart Morgan is author. |