diff --git a/databases/kyotocabinet/Makefile b/databases/kyotocabinet/Makefile index f2f55d0585aa..a2bddd1729c1 100644 --- a/databases/kyotocabinet/Makefile +++ b/databases/kyotocabinet/Makefile @@ -1,39 +1,38 @@ PORTNAME= kyotocabinet PORTVERSION= 1.2.79 -PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://dbmx.net/kyotocabinet/pkg/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Straightforward implementation of DBM WWW= https://dbmx.net/kyotocabinet/ LICENSE= GPLv3 BROKEN_mips= fails to link: hidden symbol '__sync_lock_test_and_set_8' in /usr/lib/libgcc.a(stdatomic.o) is referenced by DSO BROKEN_mips64= fails to link: hidden symbol '__sync_lock_test_and_set_8' in /usr/lib/libgcc.a(stdatomic.o) is referenced by DSO USES= compiler:c++11-lang gmake CPPFLAGS+= -fPIC GNU_CONFIGURE= yes INSTALL_TARGET= install-strip MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig REINPLACE_ARGS= -i '' TEST_TARGET= check USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile ${WRKSRC}/lab/kcdict/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libkyotocabinet.so post-install-DOCS-on: ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} {} + ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} {} + .include diff --git a/databases/kyotocabinet/files/patch-kclangc.h b/databases/kyotocabinet/files/patch-kclangc.h deleted file mode 100644 index 60350a2b1be0..000000000000 --- a/databases/kyotocabinet/files/patch-kclangc.h +++ /dev/null @@ -1,28 +0,0 @@ ---- kclangc.h.orig 2020-12-18 02:48:28 UTC -+++ kclangc.h -@@ -258,14 +258,14 @@ size_t kclevdist(const void* abuf, size_t asiz, const - * Get the quiet Not-a-Number value. - * @return the quiet Not-a-Number value. - */ --double kcnan(); -+double kcnan(void); - - - /** - * Get the positive infinity value. - * @return the positive infinity value. - */ --double kcinf(); -+double kcinf(void); - - - /** -@@ -1522,7 +1522,7 @@ typedef struct { - * @note The object of the return value should be released with the kclistdel function when it is - * no longer in use. - */ --KCLIST* kclistnew(); -+KCLIST* kclistnew(void); - - - /**