Make the infrastructure agnostic on the number of directories after categories
Details
Details
- Reviewers
rene - Group Reviewers
O5: Ports Framework portmgr - Commits
- rP429298: Make the ports infrastructure accept at least 3 level ports
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
LGTM
Tested fine with 'make check-sanity' on www/chromium inside the ports tree and outside the tree in a github checkout directory. In the latter case, it warns correctly and errors out if I add ../../../Mk/bsd.port.mk (because PKGCATEGORY == www but PKGORIGIN == /usr/home/rene/github/chromium/cpu82-chromium).
For in-tree ports, PKGORIGIN works as expected.
OPTIONS_NAME also works as expected.
Comment Actions
Perhaps this breaks portmaster/portupgrade, but there are no three-level ports yet so this patch in itself is fine.