git: 6f3e97105272 - main - japanese/kterm: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Jun 2023 19:16:33 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f3e97105272cecf8644625a9f03102c72853bdf commit 6f3e97105272cecf8644625a9f03102c72853bdf Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-11 17:38:51 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-11 19:16:22 +0000 japanese/kterm: Fix build with llvm15 - Pet portclippy - Mark DEPRECATED as last upstream release was in 2011 - Set EXPIRATION_DATE 2023-07-11 Approved by: portmgr (blanket) --- japanese/kterm/Makefile | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile index 1c74591e4f76..8a692bb697bd 100644 --- a/japanese/kterm/Makefile +++ b/japanese/kterm/Makefile @@ -2,7 +2,7 @@ PORTNAME= kterm PORTVERSION= 6.2.0 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= .fb6 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= japanese x11 MASTER_SITES= LOCAL/hrs:pcemu DISTFILES= pcemu1.01alpha.tar.gz:pcemu @@ -14,14 +14,18 @@ WWW= https://bogytech.blogspot.jp/search/label/kterm LICENSE= MIT +DEPRECATED= Last upstream release was in 2011 +EXPIRATION_DATE= 2023-07-11 + BUILD_DEPENDS= nkf:japanese/nkf USES= imake xorg -USE_XORG= ice sm x11 xaw xext xmu xpm xt USE_GITHUB= yes GH_ACCOUNT= hrs-allbsd -VGAFONT_USES= fonts +USE_XORG= ice sm x11 xaw xext xmu xpm xt + CFLAGS+= -Wno-return-type + PORTDOCS= README.kt README.wallpaper.ja dot.termcap OPTIONS_DEFINE= TEKTRONIXEMU VGAFONT DOCS @@ -30,22 +34,27 @@ OPTIONS_SINGLE= SCROLLBAR OPTIONS_SINGLE_SCROLLBAR= DEFAULT XAW3DLIB NEXTAWLIB OPTIONS_SUB= yes -XAW3DLIB_DESC= with Xaw3d scrollbar -XAW3DLIB_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d - NEXTAWLIB_DESC= with neXtaw scrollbar -NEXTAWLIB_LIB_DEPENDS= libneXtaw.so:x11-toolkits/neXtaw - TEKTRONIXEMU_DESC= Tektronix emulation - VGAFONT_DESC= install VGA font +XAW3DLIB_DESC= with Xaw3d scrollbar + +NEXTAWLIB_LIB_DEPENDS= libneXtaw.so:x11-toolkits/neXtaw VGAFONT_EXTRACT_DEPENDS= \ ${LOCALBASE}/bin/bdftopcf:x11-fonts/bdftopcf VGAFONT_BUILD_DEPENDS= \ ${LOCALBASE}/bin/mkfontscale:x11-fonts/mkfontscale +VGAFONT_USES= fonts +XAW3DLIB_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d NKFCMD= ${LOCALBASE}/bin/nkf +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-extract-VGAFONT-on: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ ${DISTDIR}/${DIST_SUBDIR}/pcemu1.01alpha.tar.gz \