Page MenuHomeFreeBSD

ports.7: Add an example of getting dependencies without building
ClosedPublic

Authored by 0mp on Dec 29 2018, 6:03 PM.

Details

Summary

While here, improve formatting of the EXAMPLES section in general.

Test Plan

igor, mandoc

Diff Detail

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

Event Timeline

0mp created this revision.Dec 29 2018, 6:03 PM
0mp added a subscriber: docs.Dec 29 2018, 6:03 PM
0mp updated this revision to Diff 52405.Dec 29 2018, 8:32 PM

Remove parts of a different patch from the review.

crees added a subscriber: crees.Dec 29 2018, 8:39 PM

I would assume that people with their own repo will understand that the default options case doesn't apply to them, so that final comment is probably OK.

0mp added a comment.Dec 29 2018, 9:06 PM

I would assume that people with their own repo will understand that the default options case doesn't apply to them, so that final comment is probably OK.

+1

0mp planned changes to this revision.Dec 29 2018, 10:30 PM
0mp updated this revision to Diff 52412.Dec 29 2018, 10:42 PM

Use make missing with pkg install instead of USE_PACKAGE_DEPENDS as USE_PACKAGE_DEPENDS only works when the package archives are already available on the machine to be installed.

0mp retitled this revision from ports.7: Add an example of WITH_PACKAGE_DEPENDS usage to ports.7: Add an example of getting dependencies without building.Dec 29 2018, 10:43 PM
bcr added a comment.Dec 29 2018, 10:51 PM

Good to have these in the examples, so approved. Thanks for the work!

This revision was not accepted when it landed; it landed in state Needs Review.Dec 30 2018, 12:27 AM
This revision was automatically updated to reflect the committed changes.