diff options
-rw-r--r-- | databases/tokyotyrant/Makefile | 6 | ||||
-rw-r--r-- | databases/tokyotyrant/buildlink3.mk | 24 |
2 files changed, 27 insertions, 3 deletions
diff --git a/databases/tokyotyrant/Makefile b/databases/tokyotyrant/Makefile index d652108dc8c..d4eb88acb25 100644 --- a/databases/tokyotyrant/Makefile +++ b/databases/tokyotyrant/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2019/11/02 15:38:12 rillig Exp $ +# $NetBSD: Makefile,v 1.39 2020/07/13 18:37:22 wiz Exp $ # DISTNAME= tokyotyrant-1.1.41 @@ -24,10 +24,10 @@ TEST_TARGET= check BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.29 .include "../../databases/tokyocabinet/buildlink3.mk" CONFIGURE_ARGS+= --with-tc=${BUILDLINK_PREFIX.tokyocabinet} -.if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mbzip2) +.if ${PKG_BUILD_OPTIONS.tokyocabinet:Mbzip2} CONFIGURE_ARGS+= --with-bzip=${BUILDLINK_PREFIX.bzip2} .endif -.if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mzlib) +.if ${PKG_BUILD_OPTIONS.tokyocabinet:Mzlib} CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib} .endif PTHREAD_AUTO_VARS= yes diff --git a/databases/tokyotyrant/buildlink3.mk b/databases/tokyotyrant/buildlink3.mk new file mode 100644 index 00000000000..d0cddfd3687 --- /dev/null +++ b/databases/tokyotyrant/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1 2020/07/13 18:37:22 wiz Exp $ + +BUILDLINK_TREE+= tokyotyrant + +.if !defined(TOKYOTYRANT_BUILDLINK3_MK) +TOKYOTYRANT_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.tokyotyrant+= tokyotyrant>=1.1.41nb4 +BUILDLINK_PKGSRCDIR.tokyotyrant?= ../../databases/tokyotyrant + +.include "../../mk/bsd.fast.prefs.mk" + +pkgbase := tokyotyrant +.include "../../mk/pkg-build-options.mk" + +.include "../../mk/pthread.buildlink3.mk" +.include "../../databases/tokyocabinet/buildlink3.mk" +.if ${PKG_BUILD_OPTIONS.tokyotyrant:Mlua} +.include "../../lang/lua/buildlink3.mk" +.endif + +.endif # TOKYOTYRANT_BUILDLINK3_MK + +BUILDLINK_TREE+= -tokyotyrant |