Changeset 12218 in hybrid for branches


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

Location:
branches/releng-9/nanobsd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9/nanobsd/cfg/nanobsd.wleiden

    r11036 r12218  
    6262`
    6363# Package target
    64 # Dirty quirk to allow comments in part below
    65 PKG_MAKE_ARGS=`cat <<EOF | sed 's/#.*$//g' | xargs
    66 PACKAGES=$(dirname $NANO_PACKAGE_DIR)
    67 BATCH=yes PACKAGE_BUILDING=yes
    68 # www/py-cherrypy
    69 WITH_APACHE=yes
    70 # net-mgmt/net-snmp
    71 WITHOUT_PERL=yes
    72 WITHOUT_PERL_EMBEDDED=yes
    73 # net-mgmt/nagios-plugins
    74 WITH_FPING=yes
    75 # threads is broken in the version (atleast up to 9.0 - 20120213)
    76 # Should be fix in current version in linux, but for some reason
    77 # Not yet in BSD. We don't need threads
    78 WITHOUT_THREADS=yes
    79 # shells/bash-static
    80 WITH_SYSLOG=yes
    81 # net/mtr
    82 WITHOUT_X11=yes
    83 `
     64PKG_MAKE_ARGS="PACKAGES=$(dirname $NANO_PACKAGE_DIR) BATCH=yes PACKAGE_BUILDING=yes"
     65
     66PKG_MAKE_CONF="
     67# www/py-cherrypy         - include apache templating
     68# net-mgmt/net-snmp       - no perl please (size)
     69# net-mgmt/nagios-plugins - no threading (single CPU)
     70# shells/bash-static      - logging via syslog
     71# net/mtr                 - no X11 (no screen)
     72OPTIONS_SET=    APACHE FPING SYSLOG
     73OPTIONS_UNSET=  PERL PERL_EMBEDDED THREADS X11
     74"
    8475
    8576##NANO_PACKAGE_LIST=
  • 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.