git: 7579f07be4fd - main - editors/hexcurse: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 May 2023 17:39:55 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7579f07be4fdc9a839705f3aa4144e9ba94d8c9d commit 7579f07be4fdc9a839705f3aa4144e9ba94d8c9d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-14 17:18:03 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-14 17:39:23 +0000 editors/hexcurse: Unbreak on HEAD - Adopt port - Pet portclippy --- editors/hexcurse/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile index 64c4e85456da..d1d068223dce 100644 --- a/editors/hexcurse/Makefile +++ b/editors/hexcurse/Makefile @@ -3,7 +3,7 @@ PORTVERSION= 1.60.0 DISTVERSIONPREFIX= v CATEGORIES= editors -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Versatile ncurses-based hex editor WWW= https://BSDforge.com/projects/editors/hexcurse/ @@ -11,7 +11,6 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses - USE_GITHUB= yes GH_ACCOUNT= LonnyGomes @@ -19,4 +18,10 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/hexcurse man/man1/hexcurse.1.gz -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=deprecated-non-prototype +.endif + +.include <bsd.port.post.mk>