#52454: nxcomp: cp: illegal option -- a --------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: nxcomp --------------------------+--------------------- nxcomp builds but fails to destroot on Leopard: https://build.macports.org/builders/ports-10.5_ppc_legacy- builder/builds/5978 {{{ cp -av libXcomp.3.dylib /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_nxcomp/nxcomp/work/destroot/opt/local/lib cp: illegal option -- a usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory make: *** [install.lib] Error 64 }}} Old `cp` doesn't have a `-a` flag. Replace this with `-pPR` which is equivalent and works on any `cp`, new or old. Please also check nxproxy and x2go. -- Ticket URL: <https://trac.macports.org/ticket/52454> MacPorts <https://www.macports.org/> Ports system for the Mac operating system