git: 6557ba831b22 - main - deskutils/aspostit: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 19:59:35 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6557ba831b22bf3b366f4ed86db40bc23166c98d commit 6557ba831b22bf3b366f4ed86db40bc23166c98d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 19:27:24 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 19:59:24 +0000 deskutils/aspostit: Fix build with llvm15 - Adopt port --- deskutils/aspostit/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/deskutils/aspostit/Makefile b/deskutils/aspostit/Makefile index 6fb34c77e4a6..6770a2be5783 100644 --- a/deskutils/aspostit/Makefile +++ b/deskutils/aspostit/Makefile @@ -4,17 +4,24 @@ PORTREVISION= 6 CATEGORIES= deskutils MASTER_SITES= AFTERSTEP/apps/aspostit -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= AfterStep dockable version of XPostIt LICENSE= GPLv2+ -USE_XORG= xpm xaw xext x11 USES= gmake jpeg xorg +USE_XORG= xpm xaw xext x11 + GNU_CONFIGURE= yes PLIST_FILES= bin/aspostit man/man1/aspostit.1.gz +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-extract: @${LN} -sf aspostit.man ${WRKSRC}/aspostit.1 @@ -22,4 +29,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/aspostit ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/aspostit.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk>