summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-11 16:15:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-11 16:15:50 +0200
commitca208d49d8ff8a485cf7e3236b22069ab3440502 (patch)
tree31fb2acb54ccd3d4434df3fdcdfa9ed40a8da41f /scripts
parenta132130166cac1c44f248f6934f014403335965a (diff)
parent061b10e2adbf4c45c10453a8fe61f57f7c739585 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-pkgs.sh11
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.