Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/tokyotyrant tokyotyrant: add buildlink3.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43c416d70187
branches:  trunk
changeset: 435728:43c416d70187
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 13 18:37:22 2020 +0000

description:
tokyotyrant: add buildlink3.mk

>From Edgar Fuß in PR 55479

Some pkglint cleanup while here.

diffstat:

 databases/tokyotyrant/Makefile      |   6 +++---
 databases/tokyotyrant/buildlink3.mk |  24 ++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 47750b71483d -r 43c416d70187 databases/tokyotyrant/Makefile
--- a/databases/tokyotyrant/Makefile    Mon Jul 13 18:19:05 2020 +0000
+++ b/databases/tokyotyrant/Makefile    Mon Jul 13 18:37:22 2020 +0000
@@ -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 @@
 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 -r 47750b71483d -r 43c416d70187 databases/tokyotyrant/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tokyotyrant/buildlink3.mk       Mon Jul 13 18:37:22 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index