cwen 7a9fcf3d20 kyotocabinet: remove BROKEN-powerpc.
Linking errors due to the usage of 64-bit __sync* operators are fixed since
gkoehler@ has set the llvm max atomic size on powerpc.
2020-10-09 21:04:54 +00:00

48 lines
994 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.26 2020/10/09 21:04:54 cwen Exp $
BROKEN-hppa= undefined reference to __sync_fetch_and_add_8
# requires C++ tr1 headers
NOT_FOR_ARCHS= ${GCC3_ARCHS}
COMMENT= straightforward implementation of DBM
DISTNAME= kyotocabinet-1.2.78
SHARED_LIBS += kyotocabinet 0.0 # 16.0
CATEGORIES= databases
HOMEPAGE= https://fallabs.com/kyotocabinet/
# GPLv3
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} c m z
MASTER_SITES= ${HOMEPAGE}pkg/
COMPILER = base-clang ports-gcc base-gcc
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
# This FLAVOR should be used for local builds only and not added to
# bulks (i.e. _no_ entry in databases/Makefile); the reason is that it
# uses -march=native which cannot be guaranteed to work on a machine it
# was not compiled on.
FLAVORS= optimized
FLAVOR?=
.if ${FLAVOR:Moptimized}
CONFIGURE_ARGS += --enable-opt
.else
CONFIGURE_ARGS += --disable-opt
.endif
pre-configure:
${SUBST_CMD} ${WRKSRC}/{configure,Makefile.in}
.include <bsd.port.mk>