pkgsrc/databases/tokyocabinet/Makefile
jperkin 5faad01737 Update to 1.4.48. Add patches to fix build on OSX.
Changes since 1.4.46:

  * tcadb.cc (tcadbmisc): compilation warnings ware supressed.
  * tchdb.cc (tchdbfbpmerge): size checking was added.
  * tcbdb.cc (tcbdbrangeimpl): a bug of dead locking was fixed.
2013-10-25 20:27:18 +00:00

34 lines
807 B
Makefile

# $NetBSD: Makefile,v 1.42 2013/10/25 20:27:18 jperkin Exp $
#
DISTNAME= tokyocabinet-1.4.48
CATEGORIES= databases
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://fallabs.com/tokyocabinet/
COMMENT= Modern implementation of DBM
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c99
PKGCONFIG_OVERRIDE+= tokyocabinet.pc.in
.include "options.mk"
TEST_TARGET= check
.include "../../mk/pthread.buildlink3.mk"
PTHREAD_AUTO_VARS= yes
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+= --disable-pthread
.else
CONFIGURE_ARGS+= --enable-pthread
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"