On Thu, Feb 28, 2019 at 7:39 AM Matthias Fechner <ide...@fechner.net> wrote:
> Dear Andrew, > > Am 28.02.2019 15:48, schrieb Andrew Shevchuk: > > Latest stable MongoDB (4.0.6) port proposal: > > > https://raw.githubusercontent.com/ashevchuk/mongodb40-freebsd-port/master/mongodb40.patch > > thanks a lot for this patch! > I just tried to apply it so I can do some tests but I'm unable to apply > your patch. > I tested it with: > patch -i mongodb40.patch > > while beeing in the ports directory. > But it complains that it is not able to find the file to patch: > > # patch -i mongodb40.patch > Hmm... Looks like a normal diff to me... > The text leading up to this was: > -------------------------- > |diff -rNd databases/Makefile.orig databases/Makefile > -------------------------- > File to patch: > > > How to apply this patch? > > > -- > Gruß > Matthias > <freebsd-ports-unsubscr...@freebsd.org> Most patches against ports, including this one, assume that the current directory is /usr/ports or whatever directory is your ports tree base directory. Alternatively, you can use '-s N' to ignore the first N directories in the path specified in the patch. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 <freebsd-ports-unsubscr...@freebsd.org> _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"