security/isakmpd error

Dag-ErlingSmørgrav des at des.no
Fri Mar 5 09:27:01 PST 2004


lemle.geza at haitec.hu writes:
> I just tried to build again this port on two similar machines, and the
> errors remained the same.
> Unsetting my $LANG variable, the build was successfull.

The genconstants.sh and genfields.sh scripts make incorrect use of
tr(1) - for instance:

locase_function='function locase (str) {
  cmd = "echo " str " |tr A-Z a-z"
  cmd | getline retval;
  close (cmd);
  return retval;
}'

It should either export LC_ALL=C, use "tr '[:upper:]' '[:lower:]'"
instead of "tr A-Z a-z", or simply use awk's built-in tolower()
function.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-ports mailing list