svn commit: r559754 - head/lang/ghc
Mikael Urankar
mikael at FreeBSD.org
Thu Dec 31 17:03:28 UTC 2020
Author: mikael
Date: Thu Dec 31 17:03:27 2020
New Revision: 559754
URL: https://svnweb.freebsd.org/changeset/ports/559754
Log:
lang/ghc: fix build on aarch64
checking for llc-6.0... no
checking for llc... no
checking for opt-6.0... no
checking for opt... no
checking for llc-9... no
checking for llc-9.0... no
checking for llc... no
checking for opt-9... no
checking for opt-9.0... no
checking for opt... no
PR: 252166
Approved by: portmgr (tier-2 blanket)
Modified:
head/lang/ghc/Makefile
Modified: head/lang/ghc/Makefile
==============================================================================
--- head/lang/ghc/Makefile Thu Dec 31 16:54:29 2020 (r559753)
+++ head/lang/ghc/Makefile Thu Dec 31 17:03:27 2020 (r559754)
@@ -145,12 +145,18 @@ CONFIGURE_TARGET= ${ARCH}-unknown-freebsd${"${ARCH:Maa
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-aclocal.m4
BUILD_DEPENDS+= llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
RUN_DEPENDS+= llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
+# Keep in sync with LLVM_VERSION
+BINARY_ALIAS= llc-9.0=llc90 \
+ opt-9.0=opt90
# When GHC being compiled and GHC used for bootstrapping support different
# LLVM versions, we have to pull in both. Luckily, this is relatively rare.
. if ${BOOT_LLVM_VERSION} != ${LLVM_VERSION}
BUILD_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
RUN_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
+# Keep in sync with BOOT_LLVM_VERSION
+BINARY_ALIAS+= llc-6.0=llc60 \
+ opt-6.0=opt60
. endif
.endif
More information about the svn-ports-all
mailing list