mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
emulators/wine: Firmly depend on LLVM 15
Our devel/llvm18 and devel/llvm17 ports (with commitsc56fde6514
andb21e6b4de1
, respectively) now provide C99 include files.[1] This is a positive and fixes a long standing issue. It significantly changes what Wine builds, though. For emulators/wine-devel we moved to the new world order already; for emulators/wine remain a bit more conservative and stay with status quo ante by firmly using LLVM 15. For most users this won't make any difference since so far we have been using LLVM_DEFAULT which currently stands at ... 15. On the way use the new USES=llvm facility instead of doing things more manually. PR: 279677, 274542 [1]
This commit is contained in:
parent
1055ef5608
commit
b65e6c38fd
@ -15,9 +15,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex llvm${_LLVM_VERSION}>=0:devel/llvm${_LLVM_VERSION}
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
|
||||
|
||||
USES= bison cpe desktop-file-utils gmake localbase \
|
||||
USES= bison cpe desktop-file-utils gmake \
|
||||
llvm:15,build,noexport localbase \
|
||||
pkgconfig sdl shebangfix tar:xz
|
||||
USE_GCC= yes
|
||||
USE_SDL= sdl2
|
||||
@ -60,8 +61,8 @@ USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine
|
||||
SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \
|
||||
tools/winedump/function_grep.pl
|
||||
|
||||
BINARY_ALIAS+= clang=${LOCALBASE}/bin/clang${_LLVM_VERSION} \
|
||||
lld-link=${LOCALBASE}/bin/lld-link${_LLVM_VERSION}
|
||||
BINARY_ALIAS+= clang=${LOCALBASE}/bin/clang${LLVM_VERSION} \
|
||||
lld-link=${LOCALBASE}/bin/lld-link${LLVM_VERSION}
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
@ -125,12 +126,6 @@ CONFIGURE_ARGS+= --without-gstreamer
|
||||
PLIST_SUB+= GSTREAMER="@comment "
|
||||
.endif
|
||||
|
||||
.if ${LLVM_DEFAULT} == 11
|
||||
_LLVM_VERSION= 15
|
||||
.else
|
||||
_LLVM_VERSION= ${LLVM_DEFAULT}
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
# Wine is composed of three parts:
|
||||
# - wine (aka this port on FreeBSD/i386) is the 32-bit component
|
||||
|
Loading…
Reference in New Issue
Block a user