summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-02-19 12:50:13 +0000
committerjperkin <jperkin@pkgsrc.org>2021-02-19 12:50:13 +0000
commit92d1a136a8333fcc82965cceb20233a5fdea0d73 (patch)
tree4d166ac273add1cb305b866b024f6ec1fab5bd51
parentcbe407505bb53c803a04344ab9bc5032f0ed4920 (diff)
downloadpkgsrc-92d1a136a8333fcc82965cceb20233a5fdea0d73.tar.gz
erlang: Fix SunOS build.
-rw-r--r--lang/erlang/options.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/erlang/options.mk b/lang/erlang/options.mk
index fb84eed9c52..2091e750716 100644
--- a/lang/erlang/options.mk
+++ b/lang/erlang/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2019/11/18 20:46:01 nia Exp $
+# $NetBSD: options.mk,v 1.12 2021/02/19 12:50:13 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.erlang
PKG_SUPPORTED_OPTIONS= java erlang-hipe
@@ -12,7 +12,7 @@ PKG_SUGGESTED_OPTIONS= # empty
###
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
(${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || \
- ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD")
+ ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "SunOS")
PKG_SUGGESTED_OPTIONS+= erlang-hipe
.endif
@@ -38,7 +38,7 @@ CONFIGURE_ARGS+= --without-javac
.if !empty(PKG_OPTIONS:Merlang-hipe)
CONFIGURE_ARGS+= --enable-hipe
PLIST_SRC+= PLIST.hipe
-USE_TOOLS+= m4
+USE_TOOLS+= gm4 # needs -P
.else
CONFIGURE_ARGS+= --disable-hipe
.endif