pkgsrc/databases/kyotocabinet/Makefile
2015-03-15 19:57:40 +00:00

36 lines
850 B
Makefile

# $NetBSD: Makefile,v 1.3 2015/03/15 20:03:24 hiramatsu Exp $
#
DISTNAME= kyotocabinet-1.2.76
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://fallabs.com/kyotocabinet/pkg/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://fallabs.com/kyotocabinet/
COMMENT= Straightforward implementation of DBM
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
USE_GCC_RUNTIME=yes
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= kyotocabinet.pc.in
.include "options.mk"
TEST_TARGET= check
PTHREAD_AUTO_VARS= yes
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
# using GCC atomic functions only available with i586 in kcthread.cc
.if !empty(CC_VERSION:Mgcc-*) && !empty(MACHINE_ARCH:Mi[34]86)
GNU_ARCH.i386= i586
CFLAGS+= -march=i586
.endif
.include "../../mk/bsd.pkg.mk"