Date: Fri, 05 Apr 2019 01:22:14 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Graham Perrin <grahamperrin@gmail.com> Cc: gecko@freebsd.org Subject: Re: Building (deleted) Waterfox 56.2.8: error: missing documentation for macro Message-ID: <lg0p-xsnt-wny@FreeBSD.org> In-Reply-To: <a4b30539-1fcf-e8f6-7a40-28a21f930c06@gmail.com> (Graham Perrin's message of "Thu, 4 Apr 2019 07:49:00 %2B0100") References: <496db844-cb0b-1b53-b498-beec9324b9c0@gmail.com> <mult-tqlp-wny@FreeBSD.org> <a4b30539-1fcf-e8f6-7a40-28a21f930c06@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Graham Perrin <grahamperrin@gmail.com> writes:
> On 17/03/2019 16:25, Jan Beich wrote:
>
>> … or add MOZ_OPTIONS+=--disable-stylo to Makefile.local. …
>
> Thanks again. This was one of a handful of keys to success.
>
> ----
>
> One thing puzzles me. I found it necessary to _manually_
> remove the LLVM_CONFIG=llvm-config80 line from:
>
> /usr/ports/www/waterfox/work/Waterfox-56.2.8/.mozconfig
LLVM_CONFIG is added to mozconfig by Mk/bsd.gecko.mk in order to force a
specific version of devel/llvm*. Try the following instead:
Index: Mk/bsd.gecko.mk
===================================================================
--- Mk/bsd.gecko.mk (revision 496825)
+++ Mk/bsd.gecko.mk (working copy)
@@ -92,7 +92,9 @@ CONFIGURE_OUTSOURCE= yes
BUNDLE_LIBS= yes
-.if ${MOZILLA_VER:R:R} >= 56
+.if ${MOZILLA} == waterfox
+MOZ_OPTIONS+= --disable-stylo
+.elif ${MOZILLA_VER:R:R} >= 56
BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
MOZ_EXPORT+= LLVM_CONFIG=llvm-config${LLVM_DEFAULT}
# Require newer Clang than what's in base system unless user opted out
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lg0p-xsnt-wny>
