Created attachment 216173 [details] patch I'm playing with overlay and noticed the following problem: my port depends on a python port (both are parts of the overlay) but the pkg infra cannot find this dependency: ===> py27-wapt-1.3.12.16 depends on package: py27-wakeonlan>=0.2 - not found Error a dependency refers to a non existing origin: /usr/ports/net/py-wakeonlan in RUN_DEPENDS find /overlays ... /overlays/wapt/net/py-wakeonlan/Makefile ... /overlays/wapt/sysutils/py-wapt/Makefile the attached patch fixed the issue but I'm not sure it's correct.
btw, is there a way to overlay the UID / GID files?
I think it would probably be better to move the flavor case/esac from after the overlay to before.
Created attachment 216176 [details] v2 yes, you're right.
A commit references this bug: Author: mat Date: Mon Jul 6 11:10:16 UTC 2020 New revision: 541336 URL: https://svnweb.freebsd.org/changeset/ports/541336 Log: Fix overlays when using flavors. Move FLAVOR processing before the overlays processing so that flavors can be used with overlays. PR: 247741 Submitted by: mikael Changes: head/Mk/Scripts/do-depends.sh