Date: Tue, 18 Jul 2023 22:23:34 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ca94c9be7813 - main - databases/ruby-tokyocabinet: Fix build with llvm16 Message-ID: <202307182223.36IMNYbN028558@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca94c9be78130dab6f1bfbbdea7dff2df7f5e53b commit ca94c9be78130dab6f1bfbbdea7dff2df7f5e53b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-18 16:19:58 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-18 22:23:23 +0000 databases/ruby-tokyocabinet: Fix build with llvm16 - Add LICENSE LGPL21 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- databases/ruby-tokyocabinet/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/databases/ruby-tokyocabinet/Makefile b/databases/ruby-tokyocabinet/Makefile index 8ecb0082ded9..49c5cedd951d 100644 --- a/databases/ruby-tokyocabinet/Makefile +++ b/databases/ruby-tokyocabinet/Makefile @@ -10,6 +10,9 @@ MAINTAINER= dgerow@afflictions.org COMMENT= Ruby interface to the Tokyo Cabinet DB engine WWW= https://dbmx.net/tokyocabinet/ +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet USES= ruby:extconf @@ -20,6 +23,12 @@ DOCS= doc/* OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} .for f in ${DOCS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307182223.36IMNYbN028558>