As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
38 lines
925 B
Makefile
38 lines
925 B
Makefile
PORTNAME= tokyocabinet
|
|
PORTVERSION= 1.31
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= https://dbmx.net/${PORTNAME}/rubypkg/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
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
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
DOCS= doc/*
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
|
.endif
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|