git: 4c4d74fc6cf4 - main - chinese/scim-pinyin: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 20:02:40 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c4d74fc6cf404cf1c731e3dfe9265712f74969b commit 4c4d74fc6cf404cf1c731e3dfe9265712f74969b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 19:13:19 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 20:02:29 +0000 chinese/scim-pinyin: Fix build with llvm16 - Pet portclippy - Utilize USES=localbase Sponsored by: The FreeBSD Foundation --- chinese/scim-pinyin/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/chinese/scim-pinyin/Makefile b/chinese/scim-pinyin/Makefile index 166952b00d1f..576ea9b13da8 100644 --- a/chinese/scim-pinyin/Makefile +++ b/chinese/scim-pinyin/Makefile @@ -8,22 +8,26 @@ MAINTAINER= ports@FreeBSD.org COMMENT= SCIM Chinese Smart Pinyin input method WWW= https://github.com/scim-im/scim +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= scim>=1.2.0:textproc/scim RUN_DEPENDS:= ${BUILD_DEPENDS} -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING +USES= gmake iconv libtool:keepla localbase:ldflags pathfix pkgconfig +USE_CXXSTD= c++14 -USES= gmake iconv libtool:keepla pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-skim-support + INSTALL_TARGET= install-strip -CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__ -LDFLAGS+= -L${LOCALBASE}/lib -lintl +CPPFLAGS+= -D__STDC_ISO_10646__ +LDFLAGS+= -lintl OPTIONS_DEFINE= NLS OPTIONS_SUB= yes + NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls