Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Apr 2022 20:15:59 +0200
From:      "rollniak" <rollniak@courrier.dev>
To:        "Yuri" <yuri@aetern.org>, <freebsd-ports@freebsd.org>
Subject:   Re: make makepatch do nothing
Message-ID:  <CJ0T69MBJX7R.33RM49QE41DN1@aramaki.int.rollniak.eu>
In-Reply-To: <19008973-0cb1-65f2-32b9-1907d7b4818f@aetern.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun Apr 3, 2022 at 10:25 PM CEST, Yuri wrote:
> rollniak wrote:
> > Hello,
> >=20
> > I'm continuing my work on porting senxmpp-rs on FreeBSD.
> >=20
> > I need to create a patch because the path in sendxmpp-rs are hardcoded:
> >=20
> > ```
>
> 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.84833300=
0 +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 +0=
200
> > @@ -37,7 +37,7 @@
> >      help: bool,
> > =20
> >      #[options(
> > -        help =3D "path to config file. default: ~/.config/sendxmpp.tom=
l with fallback to /etc/sendxmpp/sendxmpp.toml"
> > +        help =3D "path to config file. default: ~/.config/sendxmpp.tom=
l with fallback to /usr/local/etc/sendxmpp/sendxmpp.toml"
> >      )]
> >      config: Option<String>,
> > =20
> > @@ -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"),
> >      };
> > ```
> >=20
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CJ0T69MBJX7R.33RM49QE41DN1>