Diff for /elwix/Attic/build_pkgsrc.sh between versions 1.1.2.4 and 1.1.2.7

version 1.1.2.4, 2012/03/21 08:58:50 version 1.1.2.7, 2012/03/22 09:51:49
Line 5 Line 5
 # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>  # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
 #    by Michael Pounov <misho@elwix.org>  #    by Michael Pounov <misho@elwix.org>
 #  #
# ./build_package.sh <package_name># ./build_package.sh <category/package_name> [options]
 #  #
 # $Id$  # $Id$
 #  #
Line 21  fi Line 21  fi
 #V=${VERSION}  #V=${VERSION}
 [ -r ${CENV} ] && . ${CENV}  [ -r ${CENV} ] && . ${CENV}
 #unset INSTALL  #unset INSTALL
#unset VERSIONVERSION="${TARGET_BUILD}"
VERSION="elwix-freebsd" 
   
 if [ ! -d $BSDSRC ]; then  if [ ! -d $BSDSRC ]; then
         echo          echo
Line 56  else Line 55  else
         cd ${WORLD}/usr/pkgsrc          cd ${WORLD}/usr/pkgsrc
 fi  fi
   
   export USE_CROSS_COMPILE="yes"
   if [ "$(basename $0)" = "build_pkgsrc_native.sh" ]; then
           USE_CROSS_COMPILE="no"
   fi
   echo "+++ Cross compile of pkgsrc = $USE_CROSS_COMPILE"
   
 if ! cd ${1:-NO}; then  if ! cd ${1:-NO}; then
         echo          echo
        echo "Packet '$1' not exists ..."        echo "Packet '$1' not exists ... (example package name: net/bmon)"
         echo          echo
         exit 1          exit 1
 else  else
         shift          shift
 fi  fi
   
${CEXEC} bmake $*bmake $*

Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>