Skip to content

Commit

Permalink
databases/ruby-tokyocabinet: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Add LICENSE LGPL21

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 18, 2023
1 parent e77ce56 commit ca94c9b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions databases/ruby-tokyocabinet/Makefile
Expand Up @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit ca94c9b

Please sign in to comment.