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)
Sat, Dec 14, 1:25 AM
Unknown Object (File)
Fri, Nov 29, 9:56 AM
Unknown Object (File)
Thu, Nov 28, 9:38 AM
Unknown Object (File)
Nov 11 2024, 1:57 PM
Unknown Object (File)
Oct 5 2024, 12:34 PM
Unknown Object (File)
Oct 4 2024, 7:30 PM
Unknown Object (File)
Oct 4 2024, 2:52 PM
Unknown Object (File)
Oct 4 2024, 11:00 AM
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.