git: 0e4708cf6b1e - main - lang/ocaml: simplify powerpc* handling

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 13:40:15 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e4708cf6b1eaa38de81ee9ff0fdf9eecfd0a452

commit 0e4708cf6b1eaa38de81ee9ff0fdf9eecfd0a452
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:21:46 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:21:46 +0000

    lang/ocaml: simplify powerpc* handling
---
 lang/ocaml/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index d4019d14ca4f..59e1453bb8f9 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -64,7 +64,7 @@ DOCS_DISTFILES=	${DISTNAME:R}-refman-html.tar.gz:docs \
 
 .if ${ARCH} == armv6 || ${ARCH} == armv7
 CONFIGURE_ARGS+=	-as "${AS} ${ASFLAGS} -meabi=5"
-.elif ${ARCH} == powerpc
+.elif ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le
 LLD_UNSAFE=		yes
 .else
 CONFIGURE_ARGS+=	-as "${AS} ${ASFLAGS}"
@@ -102,11 +102,6 @@ PLIST_SUB+=	PROF=""
 
 .if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
 EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-asmcomp_power_arch.ml
-LLD_UNSAFE=	yes
-.endif
-
-.if ${ARCH} == powerpc64le
-LLD_UNSAFE=	yes
 .endif
 
 post-patch: