pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/erlang erlang: Fix SunOS build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb3a723a7de4
branches:  trunk
changeset: 447300:fb3a723a7de4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Feb 19 12:50:13 2021 +0000

description:
erlang: Fix SunOS build.

diffstat:

 lang/erlang/options.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6959bed1f4ad -r fb3a723a7de4 lang/erlang/options.mk
--- a/lang/erlang/options.mk    Fri Feb 19 10:47:12 2021 +0000
+++ b/lang/erlang/options.mk    Fri Feb 19 12:50:13 2021 +0000
@@ -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 @@
 ###
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index