pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/groonga groonga: adjust to use $PKG_BUILD_OPT...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9b0262774f7
branches:  trunk
changeset: 440304:f9b0262774f7
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Tue Oct 06 00:11:47 2020 +0000

description:
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:

 textproc/groonga/buildlink3.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 34a1aff291ec -r f9b0262774f7 textproc/groonga/buildlink3.mk
--- a/textproc/groonga/buildlink3.mk    Mon Oct 05 23:24:44 2020 +0000
+++ b/textproc/groonga/buildlink3.mk    Tue Oct 06 00:11:47 2020 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index