summary refs log tree commit diff stats
path: root/results/classifier/mode-gemma3:12b/system/1525682
blob: dd5138e00a36270e51cc93004dcbd4a477ff61f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
configure: fix POSIX compatibility issue

When running configure script from 2.5.0-rc4 on OpenBSD-current (amd64), I get the following error:

  ./configure[4756]: ${nettle:+($nettle_version)}": bad substitution
  *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2747 '/usr/ports/pobj/qemu-2.5.0rc4/.configure_done')
  *** Error 1 in /usr/ports/openbsd-wip/emulators/qemu (/usr/ports/infrastructure/mk/bsd.port.mk:2491 'configure')

Indeed, construct "${nettle:+($nettle_version)}" does not conform to POSIX Shell Command Language. The attached patch fixes the issue.