Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2023 23:45:56 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 009f98a41c15 - main - lang/silq: remove llvm10 dependency
Message-ID:  <202310122345.39CNjuH7021639@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/ports/commit/?id=009f98a41c15dcc346327628f21d81edb67cb839

commit 009f98a41c15dcc346327628f21d81edb67cb839
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-10-12 23:45:10 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-10-12 23:45:10 +0000

    lang/silq: remove llvm10 dependency
    
    This was added in 4949e8270ef54e5ae32f1ab66585ca0b55fc6235 to work
    around an issue when linking with LLVM 13's lld when LDC was not also
    using LLVM 13.  LDC now uses LLVM 15 and and silq builds fine without
    this patch.
    
    PR:             273977
    Approved by:    maintainer timeout
---
 lang/silq/Makefile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/lang/silq/Makefile b/lang/silq/Makefile
index 6f10fd113302..8e53a2d4f284 100644
--- a/lang/silq/Makefile
+++ b/lang/silq/Makefile
@@ -14,8 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 ONLY_FOR_ARCHS=	amd64
 ONLY_FOR_ARCHS_REASON=	unknown status of the D language compiler (lang/ldc) on ${ARCH}
 
-BUILD_DEPENDS=	ldmd2:lang/ldc \
-		llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION}
+BUILD_DEPENDS=	ldmd2:lang/ldc
 
 USE_GITHUB=	yes
 
@@ -25,15 +24,13 @@ GH_TUPLE=	eth-sri:silq:e9750cb \
 
 OPTIONS_DEFINE=	EXAMPLES
 
-LLVM_VERSION=	10
-
 .include <bsd.port.options.mk>
 
 do-build:
-		cd ${WRKSRC}; ldmd2 -O -inline -J. -Jlibrary *.d ast/*.d util/*.d -linker=lld${LLVM_VERSION} -of=silq
+		cd ${WRKSRC}; ldmd2 -O -inline -J. -Jlibrary *.d ast/*.d util/*.d -of=silq
 
 do-test:
-		cd ${WRKSRC}/test; ldmd2 -O runtests.d -linker=lld${LLVM_VERSION} -of=runtests
+		cd ${WRKSRC}/test; ldmd2 -O runtests.d -of=runtests
 		cd ${WRKSRC}/test; ./runtests
 
 do-install:



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