blob: 3d6f2f07768fd9ff47aed110c1acc4f98ef9a957 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.7 2009/01/04 11:04:35 obache Exp $
#
DISTNAME= tokyotyrant-1.1.11
CATEGORIES= databases net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://tokyocabinet.sourceforge.net/
COMMENT= Network interface of Tokyo Cabinet
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= tokyotyrant.pc.in
TEST_TARGET= check
.include "options.mk"
BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.3.27
.include "../../databases/tokyocabinet/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
PTHREAD_AUTO_VARS= yes
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= configure
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
.endif
.include "../../mk/bsd.pkg.mk"
|