Magellan Linux

Annotation of /trunk/include/yasm.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22417 - (hide annotations) (download)
Thu Apr 3 23:09:15 2014 UTC (10 years, 1 month ago) by niro
File size: 580 byte(s)
-use mget- naming scheme for yasm_arch_tuple functions
1 niro 22273 # $Id$
2    
3     SDEPEND="${SDEPEND}
4     >= dev-lang/yasm-1.3"
5    
6     # multilib honor mechanizm
7 niro 22417 mget-yasm-arch-tuple()
8 niro 22273 {
9     case ${ARCH} in
10     i*86) echo "x86-linux-gcc" ;;
11     x86_64)
12     if [[ ${MULTILIB_BUILD} = true ]]
13     then
14     case ${ABI} in
15     m32) echo "x86-linux-gcc" ;;
16     m64) echo "x86_64-linux-gcc" ;;
17     esac
18     else
19     echo "x86_64-linux-gcc"
20     fi
21     ;;
22     esac
23     }
24 niro 22417
25     # deprecated and will be dropped in near future
26     yasm_arch_tuple()
27     {
28     echo -e "${COLYELLOW}Warning: yasm_arch_tuple() is depcrecated, please use mget-yasm-arch-tuple() instead${COLDEFAULT}" >&2
29     mget-yasm-arch-tuple
30     }