svn commit: r559496 - head/lang/spidermonkey78
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Dec 28 15:57:35 UTC 2020
Author: pkubaj
Date: Mon Dec 28 15:57:34 2020
New Revision: 559496
URL: https://svnweb.freebsd.org/changeset/ports/559496
Log:
lang/spidermonkey78: fix build on GCC architectures
GCC architectures need LLVM too for llvm-objdump.
Modified:
head/lang/spidermonkey78/Makefile
Modified: head/lang/spidermonkey78/Makefile
==============================================================================
--- head/lang/spidermonkey78/Makefile Mon Dec 28 15:56:05 2020 (r559495)
+++ head/lang/spidermonkey78/Makefile Mon Dec 28 15:57:34 2020 (r559496)
@@ -62,6 +62,9 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
# Require newer Clang than what's in base system unless user opted out
# or the base system is new enough.
.if ${CHOSEN_COMPILER_TYPE} == gcc
+CONFIGURE_ENV+= LLVM_CONFIG=llvm-config${LLVM_DEFAULT} \
+ LLVM_OBJDUMP=llvm-objdump${LLVM_DEFAULT}
+BUILD_DEPENDS+= ${LOCALBASE}/bin/llvm-objdump${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USE_GCC= yes
.elif ${CC} == cc && ${CXX} == c++ && exists(/usr/lib/libc++.so) && \
${COMPILER_VERSION} < 80
More information about the svn-ports-all
mailing list