nxothersources="nxagent-1.4.0-47.tar.bz2 nxauth-1.4.0-1.tar.bz2 nxcomp-1.4.0-23.tar.bz2 \ nxcompext-1.4.0-3.tar.bz2 nxproxy-1.4.0-2.tar.bz2" nx-X11_prem() { cd .. for nxsource in $nxothersources; do echo "Extracting $nxsource ($taropt) ..." tar $taropt $archdir/$nxsource if [[ $nxsource = nxcomp-* ]] ; then patch -p0 < $confdir/gcc34.diff fi done cd $OLDPWD echo "Configuring XFree ..." cat >> config/cf/host.def << EOT /* Disable the internal zlib to use the system installed one */ #define HasZlib YES /* Disable the internal expat library to use the system installed one */ #define HasExpat YES /* Less warnings with recent gccs ... */ #define DefaultCCOptions -ansi GccWarningOptions EOT } hook_add premake 3 "nx-X11_prem" var_append makeopt " " "World"