Changeset 12218 in hybrid for branches/releng-9/nanobsd/tools


Ignore:
Timestamp:
Apr 4, 2013, 8:17:58 AM (12 years ago)
Author:
rick
Message:

Ports now uses different way of setting arguments.

Also see: https://wiki.freebsd.org/Ports/Options/OptionsNG#What_users_need_to_know

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9/nanobsd/tools/package-build.sh

    r11067 r12218  
    1818
    1919p_info Log directory ${LOGDIR}
    20 p_info Make options are:
     20p_info Make arguments are:
    2121p_info `p_list ${PKG_MAKE_ARGS}`
     22p_info Make configuration is:
     23echo "${PKG_MAKE_CONF}" | sed 's/^/## /'
    2224
    2325# HACK: install our own ports _inside_ the normal ports dir
     
    6365
    6466# Build required packages
    65 MAKE="make ${PKG_MAKE_ARGS}"
     67MAKE_CONF=`mktemp -t $(basename $0)`
     68echo "${PKG_MAKE_CONF}" > $MAKE_CONF
     69MAKE="make __MAKE_CONF=$MAKE_CONF ${PKG_MAKE_ARGS}"
    6670BUILD_LIST=''
    6771set `echo ${PACKAGE_LIST} | xargs -n1 -I% echo $PORTSDIR/%`
     
    151155fi
    152156
     157# House keeping
     158rm $MAKE_CONF
     159
Note: See TracChangeset for help on using the changeset viewer.