summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-26 08:36:18 +0000
committernia <nia@pkgsrc.org>2020-12-26 08:36:18 +0000
commiteac03d4720b9ff5640363b9a3107bc8dfa62f6ac (patch)
treef2bf6f2159ea1cc48ca90327a4ca4d1c9d965c27 /lang
parentcc254a33740ba8888595c6c4bdf8a746268ca9d4 (diff)
downloadpkgsrc-eac03d4720b9ff5640363b9a3107bc8dfa62f6ac.tar.gz
ocaml: Fix PLIST on 32-bit NetBSD/arm.
Diffstat (limited to 'lang')
-rw-r--r--lang/ocaml/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index db2ca729817..64bd426f879 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.140 2020/12/16 18:25:26 he Exp $
+# $NetBSD: Makefile,v 1.141 2020/12/26 08:36:18 nia Exp $
.include "Makefile.common"
@@ -51,7 +51,8 @@ PLIST.ocaml-prof= yes
# XXX This conditional is not complete. It should match the
# conditional in ocaml-x.y.z/configure.
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") || \
- (${MACHINE_ARCH} == "aarch64") || (${MACHINE_ARCH} == "powerpc")
+ (${MACHINE_ARCH} == "aarch64") || (${MACHINE_ARCH} == "powerpc") || \
+ !empty(MACHINE_ARCH:Mearm*)
. if !empty(MACHINE_PLATFORM:MLinux-*-*) || \
!empty(MACHINE_PLATFORM:MFreeBSD-*-*) || \
!empty(MACHINE_PLATFORM:MDragonFly-*-*) || \