Differences between 'make index' and 'portsdb -U'

parv parv at pair.com
Sun Feb 8 11:04:10 PST 2004


in message <20040207082502.GA67113 at xor.obsecurity.org>,
wrote Kris Kennaway thusly...
>
> I've been looking at index builds a fair bit recently, and I've
> noticed a number of problems with both 'make index' and 'portsdb -U'
> (part of portupgrade).
...
> 3) portsdb -U doesn't record PATCH_DEPENDS entries, 'make index' does.
> 
> 4) portsdb -U doesn't accept (valid) dependency lines like the
> following (from p5-XML-Xerces):
> 
> BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/textproc/xerces-c2:"configure TRANSCODER=native"
> 
> This gives a spurious error during the build:
> 
> p5-XML-Xerces-2.3.0.4_2:"" non-existent -- dependency list incomplete
...
> Modulo the cosmetic bug #1 above, this all counts in favour of using
> 'make index' to build your indexes, and against using 'portsdb -U'

Kris you forgot to mention that portupgrade will create a usable
INDEX on FreeBSD 4.8 and more importantly when ports tree is
incomplete, unlike 'make index'.


  - Parv

-- 



More information about the freebsd-ports mailing list