pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Synced if statement in mk/ocaml.mk with that in lan...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd19f8884e60
branches: trunk
changeset: 333838:dd19f8884e60
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Tue May 14 15:35:19 2019 +0000
description:
Synced if statement in mk/ocaml.mk with that in lang/ocaml/Makefile
diffstat:
mk/ocaml.mk | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r 1f4329f6711b -r dd19f8884e60 mk/ocaml.mk
--- a/mk/ocaml.mk Tue May 14 15:34:16 2019 +0000
+++ b/mk/ocaml.mk Tue May 14 15:35:19 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ocaml.mk,v 1.23 2019/03/05 16:14:35 jaapb Exp $
+# $NetBSD: ocaml.mk,v 1.24 2019/05/14 15:35:19 jaapb Exp $
#
# This Makefile fragment handles the common variables used by OCaml packages.
#
@@ -110,10 +110,10 @@
# Default value of OASIS_BUILD_ARGS
OASIS_BUILD_ARGS?= # empty
-# Default value of OCAML_ENABLE_BINARY_COMPILER
-.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") || \
- (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc") || \
- (${MACHINE_ARCH} == "arm")
+# Default value of OCAML_USE_OPT_COMPILER
+.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
+ !empty(MACHINE_ARCH:M*arm*) || (${MACHINE_ARCH} == "aarch64") || \
+ (${MACHINE_ARCH} == "x86_64")
OCAML_USE_OPT_COMPILER?= yes
.else
OCAML_USE_OPT_COMPILER?= no
Home |
Main Index |
Thread Index |
Old Index