pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/tokyotyrant
Module Name: pkgsrc
Committed By: wiz
Date: Mon Jul 13 18:37:22 UTC 2020
Modified Files:
pkgsrc/databases/tokyotyrant: Makefile
Added Files:
pkgsrc/databases/tokyotyrant: buildlink3.mk
Log Message:
tokyotyrant: add buildlink3.mk
>From Edgar Fuß in PR 55479
Some pkglint cleanup while here.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/databases/tokyotyrant/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/tokyotyrant/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/tokyotyrant/Makefile
diff -u pkgsrc/databases/tokyotyrant/Makefile:1.38 pkgsrc/databases/tokyotyrant/Makefile:1.39
--- pkgsrc/databases/tokyotyrant/Makefile:1.38 Sat Nov 2 15:38:12 2019
+++ pkgsrc/databases/tokyotyrant/Makefile Mon Jul 13 18:37:22 2020
@@ -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
Added files:
Index: pkgsrc/databases/tokyotyrant/buildlink3.mk
diff -u /dev/null pkgsrc/databases/tokyotyrant/buildlink3.mk:1.1
--- /dev/null Mon Jul 13 18:37:22 2020
+++ pkgsrc/databases/tokyotyrant/buildlink3.mk Mon Jul 13 18:37:22 2020
@@ -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