pkgsrc/databases/libcassandra/Makefile
2022-01-10 01:46:21 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.57 2022/01/10 01:46:27 ryoon Exp $
#
DISTNAME= libcassandra-20101010
PKGREVISION= 42
CATEGORIES= databases
MASTER_SITES= ftp://ftp.ancient-solutions.com/pub/bsdprojects/NetBSD/packages/distfiles/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/posulliv/libcassandra/
LICENSE= modified-bsd
COMMENT= C++ interface to Cassandra
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= perl
# libthrift is not clean
BUILDLINK_TRANSFORM+= rm:-Wundef
GCC_REQD+= 4.4
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/libthrift/buildlink3.mk"
CONFIGURE_ARGS+= CPPFLAGS="-I${BUILDLINK_PREFIX.libthrift}/include/thrift -I${BUILDLINK_PREFIX.boost-headers}/include/boost"
CONFIGURE_ARGS+= --disable-64bit
MAKE_ENV+= AM_DEFAULT_VERBOSITY=1
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -Wno-unknown-warning-option -Wno-unused-parameter
CXXFLAGS+= -Wno-c++11-extensions -Wno-error=unused-local-typedef
.endif
.include "../../mk/bsd.pkg.mk"