ports/111536: pkgdb -L sometimes restores wrong dependencies (does not honour pkgtools.conf make args)
ah at crypta.net
Fri Apr 13 12:50:02 UTC 2007
>Synopsis: pkgdb -L sometimes restores wrong dependencies (does not honour pkgtools.conf make args)
>Arrival-Date: Fri Apr 13 12:50:01 GMT 2007
>Originator: Andy Hilker
When using "pkgdb -L" the dependencies are restore from the ports Makefile. In case a dependency does not exist while "WITHOUT_Feature=yes" during make, the dependency will be restored even this is wrong...
However pkgdb honours the options file created by "make config". But this is not helpful when using "Batch=yes" and portupgrade utility in big environments, where make config is not used.
Install amanda-client with:
case 1 (wrong behaviour):
make WITH_DUMP_SNAPSHOT="Y" WITHOUT_GNUTAR="Y" install clean
case 2 (wrong behaviour):
make config (switch off GNUTAR)
Maybe pkgdb should use the "make_args" environment variables from pkgtools.conf.
The reason of this behaviour is that e.g. amanda Makefile uses "if defined" and "if ! defined" which seems not to be set during pkgdb run.
More information about the freebsd-ports-bugs