lang/erlang: Add m4 to USE_TOOLS when erlang-hipe is enabled.

This commit is contained in:
nia 2019-05-05 21:09:11 +00:00
parent 8473c1856a
commit 3cf4a5b37f

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.9 2016/12/17 13:06:18 rillig Exp $
# $NetBSD: options.mk,v 1.10 2019/05/05 21:09:11 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.erlang
PKG_SUPPORTED_OPTIONS= java erlang-hipe
@ -38,6 +38,7 @@ CONFIGURE_ARGS+= --without-javac
.if !empty(PKG_OPTIONS:Merlang-hipe)
CONFIGURE_ARGS+= --enable-hipe
PLIST_SRC+= PLIST.hipe
USE_TOOLS+= m4
.else
CONFIGURE_ARGS+= --disable-hipe
.endif