Created attachment 217183 [details] Patch for nano Update nano to 5.1 Disable rpath Remove unnecessary CONFIGURE_ENV variable, ncurses gets detected anyway Remove post-patch, does nothing Tested on FreeBSD 13.0-CURRENT r361421 (amd64) Poudriere testport OK 12.1-RELEASE (amd64)
Created attachment 217519 [details] Patch for nano v2 Update to 5.2
Hi, thank you for your patch. Can you explain why the parameter --disable-rpath is necessary here? I don't think it will make any difference for us but it would be nice to have a reason to put it there. Thanks!
Created attachment 217608 [details] Patch for nano v3 On second thought, don't remove rpath as this may clash with libraries in ports vs base.
A commit references this bug: Author: danilo Date: Mon Aug 31 11:59:10 UTC 2020 New revision: 547169 URL: https://svnweb.freebsd.org/changeset/ports/547169 Log: - Update to 5.2 - Replace CONFIGURE_ENV by USES=pkgconfig. pkg-config will set the ncurses path properly if the user has it installed via ports PR: 248636 Changes: head/editors/nano/Makefile head/editors/nano/distinfo
Committed (a slightly different patch). The post-patch is actually preventing groff to be called unnecessarily by the configure script so I decided to keep it for now. Thanks!
Thanks although I don't think that's ideal as it will pick of different versions depending on what's installed.