Makefile.install gnatls commands produce blank lines
|Reported by:||john.marino||Owned by:|
In the Makefile.install file, there are several gnatls | sort | sort > file.list commands that cause the subsequent install commands to choke.
The reason for this is that the gnatls command output starts with a blank line, at least on FreeBSD. The blank line is propagated to sort and uniq, so the install command throws an error on the first line.
I fixed it by removing the blank line by piping the output of the gnatls command to "grep -v '$$'" before the sort command.
I have attached a diff file to illustrate the changes need to install matreshka on FreeBSD, including a fix for xargs -a.