Re: make makepatch do nothing

From: Eugene Grosbein <eugen_at_grosbein.net>
Date: Mon, 04 Apr 2022 06:52:44 UTC
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.