Magellan Linux

Diff of /trunk/mage/usr/lib/mage/smage2.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1621 by niro, Tue Jan 10 15:48:33 2012 UTC revision 1631 by niro, Fri Jan 13 13:20:22 2012 UTC
# Line 177  download_sources() Line 177  download_sources()
177   fi   fi
178    
179   echo -e "${COLBLUE}==>${COLGREEN} fetching ${uri}${COLDEFAULT}"   echo -e "${COLBLUE}==>${COLGREEN} fetching ${uri}${COLDEFAULT}"
180     # always use verbose mode for source downloads
181     FVERBOSE=off msetfeature "verbose"
182   # do not die here, mchecksum catches download errors   # do not die here, mchecksum catches download errors
183   mdownload --uri "${uri}" --dir "${outputdir}"   mdownload --uri "${uri}" --dir "${outputdir}"
184    
# Line 240  mconfigure() Line 242  mconfigure()
242   local myopts   local myopts
243   if [[ ! -z ${CTARGET} ]]   if [[ ! -z ${CTARGET} ]]
244   then   then
245   myopts="--target=${CTARGET}"   myopts+=" --target=${CTARGET}"
246   fi   fi
247     # if requested disable-static
248     if [[ ! -z $(./configure --help | grep -- '--.*able-static') ]]
249     then
250     if mqueryfeature '!static'
251     then
252     myopts+=" --disable-static"
253     else
254     myopts+=" --enable-static"
255     fi
256     fi
257    
258     # always enable shared by default
259     if [[ ! -z $(./configure --help | grep -- '--.*able-shared') ]]
260     then
261     myopts+=" --enable-shared"
262     fi
263    
264   if [ -x ./configure ]   if [ -x ./configure ]
265   then   then

Legend:
Removed from v.1621  
changed lines
  Added in v.1631