diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2020-10-06 00:11:47 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2020-10-06 00:11:47 +0000 |
commit | 6df65bb4f392d7bdd6f8c4af8748d36a3260ae69 (patch) | |
tree | b3f101adec75ddaeba43bc13ad7739828ee62290 /textproc/groonga | |
parent | 65a15f6b3a4c262ed357f14f985585e866c1a648 (diff) | |
download | pkgsrc-6df65bb4f392d7bdd6f8c4af8748d36a3260ae69.tar.gz |
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.)
Diffstat (limited to 'textproc/groonga')
-rw-r--r-- | textproc/groonga/buildlink3.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/textproc/groonga/buildlink3.mk b/textproc/groonga/buildlink3.mk index 445fa2f1bc3..b37a7995706 100644 --- a/textproc/groonga/buildlink3.mk +++ b/textproc/groonga/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2020/03/08 16:48:14 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2020/10/06 00:11:47 gutteridge Exp $ BUILDLINK_TREE+= groonga @@ -16,19 +16,19 @@ BUILDLINK_INCDIRS.groonga+= include/groonga pkgbase := groonga .include "../../mk/pkg-build-options.mk" -.if !empty(PKG_OPTIONS:Mgroonga-suggest-learner) +.if ${PKG_BUILD_OPTIONS.groonga:Mgroonga-suggest-learner} .include "../../devel/msgpack/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Mlz4) +.if ${PKG_BUILD_OPTIONS.groonga:Mlz4} .include "../../archivers/lz4/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Mmecab) +.if ${PKG_BUILD_OPTIONS.groonga:Mmecab} .include "../../textproc/mecab/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Mzlib) +.if ${PKG_BUILD_OPTIONS.groonga:Mzlib} .include "../../devel/zlib/buildlink3.mk" .endif |