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, Apr 27, 8:31 PM
Unknown Object (File)
Sat, Apr 27, 8:05 PM
Unknown Object (File)
Feb 20 2024, 6:00 AM
Unknown Object (File)
Jan 31 2024, 3:18 AM
Unknown Object (File)
Dec 28 2023, 1:05 PM
Unknown Object (File)
Dec 20 2023, 1:19 AM
Unknown Object (File)
Nov 5 2023, 4:03 PM
Unknown Object (File)
Aug 26 2023, 9:20 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.