pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ocaml ocaml: Fix PLIST on 32-bit NetBSD/arm.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a61664580ab5
branches:  trunk
changeset: 443830:a61664580ab5
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Dec 26 08:36:18 2020 +0000

description:
ocaml: Fix PLIST on 32-bit NetBSD/arm.

diffstat:

 lang/ocaml/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 90a2107d5db0 -r a61664580ab5 lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Sat Dec 26 08:24:47 2020 +0000
+++ b/lang/ocaml/Makefile       Sat Dec 26 08:36:18 2020 +0000
@@ -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 @@
 # 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-*-*) || \



Home | Main Index | Thread Index | Old Index