K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-23T15:21:42.773376Z K 7 svn:log V 396 - pkgng: Create package in WRKDIR and then try to link it to the PACKAGES dir. If that fails, copy it. This fixes packaging as non-root when not able to write to the PACKAGES dir which causes the following warning: pkg-static: archive_write_open_filename(/usr/ports/packages/All/myport-1.2.3.txz): Bad file descriptor We do the same thing for pkg_install already. With hat: portmgr END