mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
due to not checking existence of fltk-config before using it. Fix that by checking existence before using. PR: ports/116623 Submitted by: bgruber <knightbg at yahoo.com> Approved by: Martin Tournoij <carpetsmoker at xs4all.nl> (maintainer)
10 lines
354 B
Bash
10 lines
354 B
Bash
#!/bin/sh
|
|
|
|
if [ -x ${FLTKBASE}/bin/fltk-config ] && [ -z "$(fltk-config --ldflags | grep pthread)" ]; then
|
|
echo "FLTK does not have threading support enabled."
|
|
echo "Please remove the x11-toolkits/fltk port first and recompile csound again"
|
|
echo "The csound port will automatically install the x11-toolkits/fltk-threads port."
|
|
exit 1
|
|
else
|
|
exit 0
|
|
fi
|