Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2022 02:36:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266564] [NEW PORT] x11/eww: ElKowars wacky widgets
Message-ID:  <bug-266564-7788-wHizI9ke0q@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266564-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266564-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266564

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Jes=C3=BAs Daniel Colmenares Oviedo from comment #3)
> * add a patch to fix the correct version of eww in Cargo.lock.

Seems cosmetic. USES=3Dcargo doesn't pass --frozen, so Cargo.lock is
automatically updated from Cargo.toml during build e.g.,

  =3D=3D=3D>   Updating Cargo.lock
      Updating eww v0.3.0
(/wrkdirs/usr/ports/x11/eww/work-x11/eww-0.4.0/crates/eww) -> v0.4.0

> +PLIST_FILES=3D	bin/${PORTNAME}

This can probably moved/grouped under USE_GNOME since that section already =
has
non-USE* like GH_ACCOUNT.

> I have seen that NixPkg [1] uses that environment variable and I don't kn=
ow
> much about Nix but I can't understand why/how it can compile eww that way=
. AUR
> [2] and Alpine [3] does not use that variable, they use nightly.

I did provide examples in other ports. Adding CARGO_ENV=3DRUSTC_BOOTSTRAP=
=3D1 to
Makefile should've been enough (tested in x11/eww myself, even on i386 whic=
h is
not supported by lang/rust-nightly). Whether to use CARGO_ENV or MAKE_ENV
doesn't matter as USES=3Dcargo inherits both but if you need to apply
RUSTC_BOOTSTRAP only in certain port options then MAKE_ENV is easier because
there's an option helper while CARGO_ENV would require using generic _VARS +
_VARS_OFF helper.

Note, Firefox has been using RUSTC_BOOTSTRAP for years, see
https://searchfox.org/mozilla-release/search?q=3DRUSTC_BOOTSTRAP

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266564-7788-wHizI9ke0q>