#!/bin/sh
wrapperlog="${TOOLS_WRAPPER_LOG-/tmp/pkgsrc-build//lang/pcc/work/.work.log}"
lang="fortran"
msg="*** Please consider adding $lang to USE_LANGUAGES in the package Makefile."
echo "$msg" >> $wrapperlog
echo "$msg" > /tmp/pkgsrc-build//lang/pcc/work/.warning/fortran-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
