* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / x86 / icc / parse-config
blob632a072e6867c7b27f234e1c51808346948734d7
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/icc/parse-config
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
5
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
8
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 for x in CC CXX KCC ; do
14         if eval '[ "$SDECFG_DEFAULT_'$x'" = "icc" ]'; then
15                 if [ -x "`type -p icc`" ]; then
16                         eval 'export '$x'="icc"'
17                         for x in $base/package/*/icc/patches/pkg_${pkg}{,_*}.patch
18                         do
19                                 if [ -f $x ]; then
20                                         var_remove patchfiles " " $x
21                                         var_append patchfiles " " $x
22                                 fi
23                         done
24                 fi
25         fi
26 done