diff --git a/xbps-src b/xbps-src index 8a2ec8ee990..0642ab6dc12 100755 --- a/xbps-src +++ b/xbps-src @@ -28,8 +28,8 @@ chroot clean [pkgname] Removes auto dependencies, cleans up /builddir and /destdir. - If argument is specified only the builddir for that package will be - cleaned up. + If argument is specified, package files from and its + build directory in /buiddir are removed. configure Configure a package (fetch + extract + configure). @@ -564,6 +564,7 @@ case "$XBPS_TARGET" in run_func do_clean fi fi + remove_pkg $XBPS_CROSS_BUILD fi ;; remove-autodeps)