diff options
author | brook <brook> | 2017-01-21 17:10:26 +0000 |
---|---|---|
committer | brook <brook> | 2017-01-21 17:10:26 +0000 |
commit | 298290ae81c43d2e5d1bfde48462ae091358a14e (patch) | |
tree | 3dbcaee3b7b42db2232ca6d5ebefc2ded9c9eefd /audio | |
parent | f93c73fc64ac4231c7d76b3ac656309572a6e1ae (diff) | |
download | pkgsrc-298290ae81c43d2e5d1bfde48462ae091358a14e.tar.gz |
Always take the flex version from the second word of the version string.
When necessary, the flex version is obtained from the version string reported
by running flex. Generally, the first word of the version string is flex and
and the second is a version number. At least for MacOS, there is a third
vendor-specific word. The sed command previously used to capture the flex
version captured the last word, not the second one, because the first capture
group was too greedy and could capture more than a single word. Instead,
force the capture groups to capture only words, i.e., no blanks, and use the
second word for the version.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions