Date: Fri, 1 Mar 2019 19:29:23 +0100 From: Matthias Fechner <idefix@fechner.net> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org>, owner-freebsd-ports@freebsd.org, Andrew Shevchuk <dev.ashevchuk@gmail.com> Subject: Re: databases/mongodb40 port proposal Message-ID: <8d908b19-5e9c-661a-5ce2-282575e9cdd3@fechner.net> In-Reply-To: <CAN6yY1sMv_Y0QW8QKZxtuzS=2u_griN9fHN3a5hJ0THy=jobXw@mail.gmail.com> References: <CAJCvQDrk4%2BnvWcq4penDP%2BxOngqCs_BOB7wPS7rDk%2B=DiojCgw@mail.gmail.com> <c6316a828441dda587830b69a9861a2e@fechner.net> <CAN6yY1sMv_Y0QW8QKZxtuzS=2u_griN9fHN3a5hJ0THy=jobXw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Kevin, Am 01.03.2019 um 05:50 schrieb Kevin Oberman: > 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. thanks for your answer. -s is the silent option, I think you wanted to write -spN where with N you can define a number of directories to strip, like it is explained in the man page: -p strip-count, --strip strip-count Sets the pathname strip count, which controls how pathnames found in the patch file are treated, in case you keep your files in a different directory than the person who sent out the patch. The strip count specifies how many slashes are to be stripped from ... But this is not the reason, it seems that the patch has a format that patch cannot handle or you must define some parameters I do not know. I tried to apply the patch on the source dir of the ports directory. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d908b19-5e9c-661a-5ce2-282575e9cdd3>