lang/silq: remove llvm10 dependency

This was added in 4949e8270e 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
This commit is contained in:
Brooks Davis 2023-10-13 00:45:10 +01:00
parent 2295fcc1d4
commit 009f98a41c
1 changed files with 3 additions and 6 deletions

View File

@ -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: