Created attachment 217183 [details]
Patch for nano
Update nano to 5.1
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.
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:
Date: Mon Aug 31 11:59:10 UTC 2020
New revision: 547169
- 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
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 although I don't think that's ideal as it will pick of different versions depending on what's installed.