diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/scan-pkgs.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index fc7dd2515..bc688b924 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -80,6 +80,10 @@ if [[ -n $ADK_PACKAGE_FIREFOX ]]; then NEED_ZIP="$NEED_ZIP firefox" fi +if [[ -n $ADK_PACKAGE_MESALIB ]]; then + NEED_MAKEDEPEND="$NEED_MAKEDEPEND mesalib" +fi + if [[ -n $ADK_COMPILE_HEIMDAL ]]; then NEED_BISON="$NEED_BISON heimdal-server" fi @@ -423,6 +427,13 @@ if [[ -n $NEED_PYTHON ]]; then fi fi +if [[ -n $NEED_MAKEDEPEND ]]; then + if ! which makedepend >/dev/null 2>&1; then + echo >&2 You need makedepend to build $NEED_MAKEDEPEND + out=1 + fi +fi + if [[ -n $ADK_USE_CCACHE ]]; then if ! which ccache >/dev/null 2>&1; then echo >&2 You have selected to build with ccache, but ccache could not be found. |