Re: make makepatch do nothing
- Reply: Eugene Grosbein : "Re: make makepatch do nothing"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Apr 2022 18:15:59 UTC
On Sun Apr 3, 2022 at 10:25 PM CEST, Yuri wrote: > rollniak wrote: > > Hello, > > > > I'm continuing my work on porting senxmpp-rs on FreeBSD. > > > > I need to create a patch because the path in sendxmpp-rs are hardcoded: > > > > ``` > > There is no markup for emails (at least working in every MUA out there). I will avoid them in the future then. :) > > --- work/sendxmpp-rs-2.0.0/src/main.rs.ori 2022-04-03 18:10:37.848333000 +0200 > > This should end in .orig; check /usr/ports/Mk/Scripts/smart_makepatch.sh > which is what gets called by makepatch target. Oh... I should be more careful with typos, it's the second time I ask for help during this weekend and the issue was some a typo. ^^' sorry... > > +++ work/sendxmpp-rs-2.0.0/src/main.rs 2022-04-03 18:11:24.329068000 +0200 > > @@ -37,7 +37,7 @@ > > help: bool, > > > > #[options( > > - help = "path to config file. default: ~/.config/sendxmpp.toml with fallback to /etc/sendxmpp/sendxmpp.toml" > > + help = "path to config file. default: ~/.config/sendxmpp.toml with fallback to /usr/local/etc/sendxmpp/sendxmpp.toml" > > )] > > config: Option<String>, > > > > @@ -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")) > > .die("valid config file not found"), > > }; > > ``` > > > > If I execute `make makefile`, nothing has been created in _files/_: > > I guess the target name ("makefile") is simply a typo? > That it another typo when I wrote the email, sorry. ``` make makepatch Generated patch-src_main.rs ``` Thanks for your help and again sorry. rollniak