Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111303605
D20860.id59434.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20860.id59434.diff
View Options
Index: lang/ghc/Makefile
===================================================================
--- lang/ghc/Makefile
+++ lang/ghc/Makefile
@@ -146,11 +146,8 @@
# CONFIGURE_TARGET must to be the same as the llvm triple
CONFIGURE_TARGET= ${ARCH}-unknown-freebsd${"${ARCH:Maarch64}" != "":?:-gnueabihf}
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-aclocal.m4
-BUILD_DEPENDS+= ld.gold:devel/binutils \
- llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
-RUN_DEPENDS+= ld.gold:devel/binutils \
- llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
-USE_GCC= yes
+BUILD_DEPENDS+= llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
+RUN_DEPENDS+= llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
# When GHC being compiled and GHC used for bootstrapping support different
# LLVM versions, we have to pull in both. Luckily, this is relatively rare.
@@ -158,21 +155,16 @@
BUILD_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
RUN_DEPENDS+= llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VERSION}
. endif
-
-. if ${OSVERSION} < 1200064
-IGNORE= lang/ghc on ARM requires at least __FreeBSD_version 1200064
-. endif
-
-. ifdef QEMU_EMULATING
-IGNORE= qemu-user-static isn't able to build lang/ghc, but it builds fine on a real hardware
-. endif
.endif
-.if ${ARCH} == powerpc64
+.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == powerpc64
USE_GCC= yes
. if ${OSVERSION} < 1200086
-IGNORE= lang/ghc on powerpc64 requires at least __FreeBSD_version 1200086
+IGNORE= lang/ghc requires at least FreeBSD 12.0-RELEASE
+. endif
+. ifdef QEMU_EMULATING
+IGNORE= qemu-user-static isn't able to build lang/ghc, but it builds fine on a real hardware
. endif
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 3, 2:21 AM (2 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16938095
Default Alt Text
D20860.id59434.diff (1 KB)
Attached To
Mode
D20860: lang/ghc: cleanup for tier2 arches
Attached
Detach File
Event Timeline
Log In to Comment