Move the FLAVOR check after bsd.port.mk to fix:

Malformed conditional (${FLAVOR:L:Mruby26}) (Makefile:18)
Not sure this is the best fix but at least it allows unbreaking sqlports.
This commit is contained in:
ajacoutot 2021-09-04 06:16:35 +00:00
parent f3593cd0ef
commit 5264f89ba6

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2021/09/03 18:28:30 jeremy Exp $
# $OpenBSD: Makefile,v 1.20 2021/09/04 06:16:35 ajacoutot Exp $
COMMENT = small and fast replacement for test/unit
@ -15,11 +15,11 @@ CONFIGURE_STYLE = ruby gem
MODRUBY_TEST = rake
TEST_DEPENDS = devel/ruby-hoe,${MODRUBY_FLAVOR}
.include <bsd.port.mk>
.if ${FLAVOR:L:Mruby26}
# Ruby 2.6 includes this version of minitest
PLIST = ${PKGDIR}/PLIST.empty
.endif
TEST_DEPENDS = devel/ruby-hoe,${MODRUBY_FLAVOR}
.include <bsd.port.mk>