pkgsrc/textproc/groonga/buildlink3.mk
gutteridge 44505cd1e8 groonga: adjust to use $PKG_BUILD_OPTIONS in buildlink3.mk
Match the expected variable name in this context and adjust to
(pkglint) recommended style. (I'm not sure some or all of this
handling is actually necessary; it isn't needed in one of my test
environments. I've left it in for now.)
2020-10-06 00:11:47 +00:00

37 lines
945 B
Makefile

# $NetBSD: buildlink3.mk,v 1.3 2020/10/06 00:11:47 gutteridge Exp $
BUILDLINK_TREE+= groonga
.if !defined(GROONGA_BUILDLINK3_MK)
GROONGA_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.groonga+= groonga>=7.0.4
BUILDLINK_ABI_DEPENDS.groonga?= groonga>=7.0.6nb3
BUILDLINK_PKGSRCDIR.groonga?= ../../textproc/groonga
BUILDLINK_INCDIRS.groonga+= include/groonga
.include "../../devel/editline/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
pkgbase := groonga
.include "../../mk/pkg-build-options.mk"
.if ${PKG_BUILD_OPTIONS.groonga:Mgroonga-suggest-learner}
.include "../../devel/msgpack/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.groonga:Mlz4}
.include "../../archivers/lz4/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.groonga:Mmecab}
.include "../../textproc/mecab/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.groonga:Mzlib}
.include "../../devel/zlib/buildlink3.mk"
.endif
.endif # GROONGA_BUILDLINK3_MK
BUILDLINK_TREE+= -groonga