summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/wine/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index d3634d60a802..af0135ab95e2 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -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