Page MenuHomeFreeBSD

Fix the '-a' option to ${PORTSDIR}/Tools/scripts/addport
ClosedPublic

Authored by matthew on Aug 16 2016, 9:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 23, 3:25 PM
Unknown Object (File)
Sep 8 2025, 5:33 PM
Unknown Object (File)
Sep 4 2025, 8:59 AM
Unknown Object (File)
Sep 4 2025, 4:44 AM
Unknown Object (File)
Aug 31 2025, 7:15 AM
Unknown Object (File)
Aug 30 2025, 11:54 PM
Unknown Object (File)
Jul 2 2025, 2:08 PM
Unknown Object (File)
Jun 17 2025, 1:40 PM
Subscribers

Details

Summary

Currently addport -a ends up running a command line like:

make  PORTSDIR="/tmp/ap.BsOuZJBy" clean check-categories

where the temporary directory has only parts of the ports tree
(specifically bits under ${PORTSDIR}/Mk) checked out. This can't work
as 'make check-categories' needs to see the entire ports tree checked
out.

Instead, run the checks specified by '-a' and '-t' with the value of
$PORTSDIR from the environment.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

matthew retitled this revision from to Fix the '-a' option to ${PORTSDIR}/Tools/scripts/addport.
matthew updated this object.
matthew edited the test plan for this revision. (Show Details)
matthew added a reviewer: crees.
crees edited edge metadata.

Ah yes, it's fussier about CATEGORIES now-- can't remember why this used to work and doesn't any more, but thanks!

This revision is now accepted and ready to land.Aug 16 2016, 1:38 PM
This revision was automatically updated to reflect the committed changes.