[Bug 229385] graphics/mesa-libs requires devel/llvm60 from ports, should use base on 11.2-RELEASE?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 28 16:19:01 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229385
--- Comment #4 from Marko Cupać <marko.cupac at mimar.rs> ---
Perhaps it would be worth to try if mesa-libs can be built with base llvm60
instead of port. It is not even on freshports' list of ports that need llvm60,
for either build, run, or libraries.
I took a look at www/chromium Makefile, llvm check is different there:
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101513
BUILD_DEPENDS+= clang60:devel/llvm60
CC= clang60
CXX= clang++60
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-llvm-port
.else
BUILD_DEPENDS+= ${LOCALBASE}/bin/ar:devel/binutils
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-llvm-base
.endif
Perhaps something like that could be tried for mesa-libs instead of:
# libEGL needs gallium enabled which depends on llvm
.if "${MESA_LLVM_VER}" != ""
.if ${PORT_OPTIONS:MWAYLAND}
CONFIGURE_ARGS+= --with-platforms=x11,drm,wayland
.else
CONFIGURE_ARGS+= --with-platforms=x11,drm
.endif
PLIST_SUB+= EGL=""
.else
CONFIGURE_ARGS+= --disable-egl
PLIST_SUB+= EGL="@comment "
.if ${PORT_OPTIONS:MWAYLAND}
IGNORE= option WAYLAND is only valid on platforms with LLVM
.endif
.endif
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-x11
mailing list