Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 15:57:35 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559496 - head/lang/spidermonkey78
Message-ID:  <202012281557.0BSFvZUP071709@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012281557.0BSFvZUP071709>