Re: Port from Linux, Makefile not in top-level

From: Thierry Thomas <thierry_at_freebsd.org>
Date: Fri, 18 Jun 2021 16:41:26 UTC
Le ven. 18 juin 21 à 18:19:45 +0200, Xavier Humbert <xavier@groumpf.org>
 écrivait :

> In fact, ${WRKSRC_SUBDIR}/Makefile takes care of the first-level
> "rudder-agent", and files are correctly installed in the "stage" directory,
> but a huge problem arises :
> "make makepatch" and "make patch" ignore this first-level directory, and I
> have files to patch here
> 
> What would be the solution ? If I leave alone WRKSRC_SUBDIR using a 
> "do-build"

Avoid a specific do-build if possible. But have you tried PATCH_WRKSRC?
-- 
Th. Thomas.