Created attachment 235998 [details] Patch for apachetop Use upstream release archive as recommended in USE_GITHUB section in Porters Handbook. This also removes the need to run autoreconf. Define GNU_CONFIGURE as it uses GNU Autotools, Use CONFIGURE_ENV for ncurses(w) linking instead of patching configure script Poudriere testport OK 12.3-RELEASE (amd64)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=26adba26316b0fede5f395e5746583860e5aa27c commit 26adba26316b0fede5f395e5746583860e5aa27c Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-08-18 20:52:17 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-08-18 21:00:19 +0000 sysutils/apachetop: Clean up port * Use DISTVERSION instead of PORTVERSION * Use upstream release archive as recommended by Porters Handbook, this also removes the need to run USES= autoreconf * Use GNU_CONFIGURE instead of HAS_CONFIGURE as this configure script uses GNU Autotools * Use CONFIGURE_ENV to tell configure script where ncurses is located which makes patching unnecessary. PR: 265932 Reviewed by: lukasz@wasikowski.net (maintainer) sysutils/apachetop/Makefile | 12 +++---- sysutils/apachetop/distinfo | 6 ++-- sysutils/apachetop/files/patch-configure.ac (gone) | 42 ---------------------- 3 files changed, 9 insertions(+), 51 deletions(-)
Committed, thanks for prompt review!