diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-26 20:23:08 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-26 20:23:08 +0100 |
commit | 99bd990026275c31475cd779157a00c0bbdba6fb (patch) | |
tree | 4c87dbb8966931433b14cf144353a9af8841aeca /scripts/scan-pkgs.sh | |
parent | b944726b75e18b624bb92e1e4eaa2dafc8d118e0 (diff) | |
parent | 503e9c8f13e8da18f2e81530ba7f086d3ea04de4 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/scan-pkgs.sh')
-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 a7b3cf492..a2879627e 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -60,6 +60,10 @@ if [[ -n $ADK_COMPILE_HEIMDAL ]]; then NEED_BISON="$NEED_BISON heimdal-server" fi +if [[ -n $ADK_PACKAGE_LIBXCB ]]; then + NEED_XSLTPROC="$NEED_XSLTPROC libxcb" +fi + if [[ -n $ADK_COMPILE_PCMCIAUTILS ]]; then NEED_BISON="$NEED_BISON pcmciautils" NEED_FLEX="$NEED_FLEX pcmciautils" @@ -278,6 +282,13 @@ if [[ -n $NEED_FLEX ]]; then fi fi +if [[ -n $NEED_XSLTPROC ]]; then + if ! which xsltproc >/dev/null 2>&1; then + echo >&2 You need xsltproc to to use $NEED_XSLTPROC package + out=1 + fi +fi + if [[ -n $NEED_PYTHON ]]; then if ! which python >/dev/null 2>&1; then if ! test -x /usr/pkg/bin/python2.6 >/dev/null; then |