Date: Mon, 4 Apr 2022 13:52:44 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: rollniak <rollniak@courrier.dev>, freebsd-ports@freebsd.org Subject: Re: make makepatch do nothing Message-ID: <51ab5dcf-92fd-3c9d-2099-5b6ebb60a40b@grosbein.net> In-Reply-To: <CJ0T69MBJX7R.33RM49QE41DN1@aramaki.int.rollniak.eu> References: <CJ0T69MBJX7R.33RM49QE41DN1@aramaki.int.rollniak.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
04.04.2022 1:15, rollniak wrote: >>> I need to create a patch because the path in sendxmpp-rs are hardcoded: >>> @@ -91,7 +91,7 @@ >>> .die("cannot find home directory") >>> .join("sendxmpp.toml"), >>> ) >>> - .or_else(|_| parse_cfg("/etc/sendxmpp/sendxmpp.toml")) >>> + .or_else(|_| parse_cfg("/usr/local/etc/sendxmpp/sendxmpp.toml")) You should not hardcode /usr/local/etc, either. Please read our Porter's Handbook carefully and learn why you have to use ${PREFIX} here and how exactly you are supposed to do that.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51ab5dcf-92fd-3c9d-2099-5b6ebb60a40b>