[Bug 229385] graphics/mesa-libs requires devel/llvm60 from ports, should use base on 11.2-RELEASE?

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229385

--- Comment #4 from Marko Cupać <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.