Page MenuHomeFreeBSD

Make the infrastructure agnostic on the number of directories after categories
ClosedPublic

Authored by bapt on Dec 22 2016, 10:04 PM.

Details

Summary

Make the infrastructure agnostic on the number of directories after categories

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

bapt updated this revision to Diff 23208.Dec 22 2016, 10:04 PM
bapt retitled this revision from to Make the infrastructure agnostic on the number of directories after categories.
bapt updated this object.
bapt edited the test plan for this revision. (Show Details)
bapt added a reviewer: portmgr.
rene added a subscriber: rene.Dec 23 2016, 6:17 PM

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.

rene accepted this revision.Dec 23 2016, 6:45 PM
rene added a reviewer: rene.

Perhaps this breaks portmaster/portupgrade, but there are no three-level ports yet so this patch in itself is fine.

This revision is now accepted and ready to land.Dec 23 2016, 6:45 PM
This revision was automatically updated to reflect the committed changes.