pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ocaml Fix PLIST failures on NetBSD/powerpc.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73dfb0232914
branches:  trunk
changeset: 443570:73dfb0232914
user:      he <he%pkgsrc.org@localhost>
date:      Wed Dec 16 18:25:26 2020 +0000

description:
Fix PLIST failures on NetBSD/powerpc.

diffstat:

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

diffs (23 lines):

diff -r 01719d839383 -r 73dfb0232914 lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Wed Dec 16 17:28:00 2020 +0000
+++ b/lang/ocaml/Makefile       Wed Dec 16 18:25:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.139 2020/12/10 16:17:55 wiz Exp $
+# $NetBSD: Makefile,v 1.140 2020/12/16 18:25:26 he Exp $
 
 .include "Makefile.common"
 
@@ -51,11 +51,11 @@
 # 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} == "aarch64") || (${MACHINE_ARCH} == "powerpc")
 .  if !empty(MACHINE_PLATFORM:MLinux-*-*) || \
       !empty(MACHINE_PLATFORM:MFreeBSD-*-*) || \
       !empty(MACHINE_PLATFORM:MDragonFly-*-*) || \
-      (!empty(MACHINE_PLATFORM:MNetBSD-*-*) && empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)) || \
+      !empty(MACHINE_PLATFORM:MNetBSD-*-*) || \
       !empty(MACHINE_PLATFORM:MDarwin-*-*) || \
       !empty(MACHINE_PLATFORM:MSunOS-*-*)
 PLIST.ocaml-nat=       yes



Home | Main Index | Thread Index | Old Index