Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2025 14:52:21 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Michael Gmelin <grembo@freebsd.org>, markj@freebsd.org
Cc:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>,  Warner Losh <imp@bsdimp.com>, Mark Linimon <linimon@portsmon.org>,  Sulev-Madis Silber <freebsd-hackers-freebsd-org952@ketas.si.pri.ee>, freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] df: correct BLOCKSIZE handling for -k to use 1K-blocks (290710)
Message-ID:  <86345zk2ga.fsf@ltc.des.dev>
In-Reply-To: <20251127142158.68f5e126.grembo@freebsd.org> (Michael Gmelin's message of "Thu, 27 Nov 2025 14:21:58 %2B0100")
References:  <CAEw80_2bA-NgE_XF0KVr55PSUDGEQTWGE7t9rpxOhykY1MsSvA@mail.gmail.com> <CANCZdfo9XbAKcgtSw953hpwc9jegzPhaVtfk7DtYTKdoHRnkUg@mail.gmail.com> <1789299192.176069.1764023439861@privateemail.com> <20251125082605.0cb9ab55a2c71a415b575c41@dec.sakura.ne.jp> <86h5ui7qd5.fsf@ltc.des.dev> <20251125214658.eb1e0cdf9df97601b9e28de9@dec.sakura.ne.jp> <774F9B09-B506-4F8E-B293-CE705F64B77A@ketas.si.pri.ee> <1497323956.336174.1764124966236@privateemail.com> <CANCZdfprduu7SZ-aA2GC8ya1nLit_bcH2a8tV=ZQD1J6%2B2Q_2Q@mail.gmail.com> <20251126184515.4fe1ec7820f244deb428a2a9@dec.sakura.ne.jp> <86bjknk56z.fsf@ltc.des.dev> <20251127142158.68f5e126.grembo@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Michael Gmelin <grembo@freebsd.org> writes:
> Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> > Michael, could you please modify the arcanist ports so they install
> > bin/arcanist instead of bin/arc, and only create bin/arc as a soft or
> > hard link if an option is provided?  Then we can modify git-arc to use
> > arcanist instead of arc so it works with or without the link, and
> > people who have this issue can simply install arcanist without the
> > link.
> All the arcanist port does install the symlink:
>
>   arc -> ../lib/php/arcanist/bin/arc
>
> If you don't want that, install only arcanist-lib
>
>   pkg install arcanist-lib
>
> and call /usr/local/lib/php/arcanist/bin/arc directly, or
> make it a symlink to something else you prefer.

So we just need to adjust git-arc to use the actual script instead of
the link, and the freebsd-git-devtools port to depend on arcanist-lib
instead of arcanist.  See <https://reviews.freebsd.org/D53942>.

BTW, you don't actually need to install the port to use git-arc; you can
just `ln -s /usr/src/tools/tools/git/git-arc.sh /usr/local/bin/git-arc`.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86345zk2ga.fsf>