Skip site navigation (1)Skip section navigation (2)
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:
>
>> =E2=80=A6 or add MOZ_OPTIONS+=3D--disable-stylo to Makefile.local. =E2=
=80=A6
>
> 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=3Dllvm-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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Mk/bsd.gecko.mk	(revision 496825)
+++ Mk/bsd.gecko.mk	(working copy)
@@ -92,7 +92,9 @@ CONFIGURE_OUTSOURCE=3D	yes
=20
 BUNDLE_LIBS=3D	yes
=20
-.if ${MOZILLA_VER:R:R} >=3D 56
+.if ${MOZILLA} =3D=3D waterfox
+MOZ_OPTIONS+=3D	--disable-stylo
+.elif ${MOZILLA_VER:R:R} >=3D 56
 BUILD_DEPENDS+=3D	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
 MOZ_EXPORT+=3D	LLVM_CONFIG=3Dllvm-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>