#!/opt/pkg/bin/mksh
wrapperlog="${TOOLS_WRAPPER_LOG-/Users/user/PKGSRC/2025Q2/pkgsrc/lang/bwbasic/work/.work.log}"
lang="c++"
msg="*** Please consider adding $lang to USE_LANGUAGES in the package Makefile."
echo "$msg" >> $wrapperlog
echo "$msg" > /Users/user/PKGSRC/2025Q2/pkgsrc/lang/bwbasic/work/.warning/c++-fail-wrapper
echo "PKGSRC-WARNING: Something is trying to run the $lang compiler," 1>&2
echo "PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile." 1>&2
exit 1
