summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2020-12-16 18:25:26 +0000
committerhe <he@pkgsrc.org>2020-12-16 18:25:26 +0000
commit0d457f2a7532621537ebf00d94128a227768c7cd (patch)
tree2ef425d0e41cc5222a9333249b6363255f41ad95 /lang
parent5c90b9e0e52a11555f63665a3638186e02b74d4d (diff)
downloadpkgsrc-0d457f2a7532621537ebf00d94128a227768c7cd.tar.gz
Fix PLIST failures on NetBSD/powerpc.
Diffstat (limited to 'lang')
-rw-r--r--lang/ocaml/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 07260351432..db2ca729817 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -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 @@ 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} == "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