git: 3c4254f93f4a - main - mail/hbiff: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 May 2023 19:59:21 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c4254f93f4af3fcd8e7b8ff2345272ad0c2d5bf commit 3c4254f93f4af3fcd8e7b8ff2345272ad0c2d5bf Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-14 18:42:34 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-14 19:59:09 +0000 mail/hbiff: Unbreak on HEAD - Pet portclippy - Refactor with USES=loccalbase - Adopt port --- mail/hbiff/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/mail/hbiff/Makefile b/mail/hbiff/Makefile index a18c8bc4d636..b8151ac8d443 100644 --- a/mail/hbiff/Makefile +++ b/mail/hbiff/Makefile @@ -5,17 +5,23 @@ CATEGORIES= mail MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/misc/ \ LOCAL/obrien -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Replacement for xbiff that handles popup window with mail headers -USES= xorg +USES= localbase xorg USE_XORG= x11 -CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +CFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -lX11 PLIST_FILES= bin/hbiff man/man1/hbiff.1.gz +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif + do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/hbiff.c -o ${WRKSRC}/${PORTNAME} @@ -23,4 +29,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk>