Re: [Viking-devel] another portability nit

2020-03-21 Thread Greg Troxel
On 2020-03-21 09:07, Robert Norris wrote: NB We spoke about the $RANDOM issue back in November 2016. I had a note in the patchfile that I might have sent mail, but not 100% clear. I had just updated pkgsrc to 1.8 and found the problem still there. This one turns out to be quite different,

[Viking-devel] another portability nit

2020-03-18 Thread Greg Troxel
In configure, we patch $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM to $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.not-random $RANDOM is a bashism not specified by POSIX, and not available in a number of shells. (It is available in NetBSD's /bin/sh, but pkgsrc has a bunch of