Date: Fri, 13 Sep 2019 11:20:06 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org> To: Koichiro Iwao <meta@FreeBSD.org> Cc: ports@FreeBSD.org Subject: Re: dos2unix patch? Message-ID: <20190913112006.49000962@FreeBSD.org> In-Reply-To: <20190912052357.rywdc2ewf3nrpy36@icepick.vmeta.jp> References: <20190912052357.rywdc2ewf3nrpy36@icepick.vmeta.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Sep 2019 14:23:58 +0900 Koichiro Iwao <meta@FreeBSD.org> wrote: > is it possible to run dos2unix to patches fetched from PATCH_SITES? > or how can I change order of patch and dos2unix. > > I would like to apply dos2unix-ed patches to dos2unix-ed source. > Alternatively, applying patch first and then running dos2unix on > patched-source is OK to me. > > Patches fetched from PATCH_SITES have .patch suffix so I added *.patch > to DOS2UNIX_GLOB but it didn't work. > > USES= dos2unix > DOS2UNIX_GLOB= *.c *.h You could add the patches to DISTFILES instead of PATCHFILES and then maybe do-extract will just copy them to WRKDIR, but if not, you can set EXTRACT_ONLY to the original distfile and copy the patches to WRKDIR in post-extract. Then dos2unix should work and you can add the WRKDIR patches to EXTRA_PATCHES.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190913112006.49000962>