diff options
author | des <des@FreeBSD.org> | 2002-02-24 15:36:32 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-02-24 15:36:32 +0000 |
commit | 2de5a27ecf7752ffff233030be15cff9b5843335 (patch) | |
tree | 30c829a9e921849b89309666edad297108d5da34 /misc/porteasy/src | |
parent | e413758b0e072f6e17f6d7d3687aec7c02ae2e27 (diff) | |
download | FreeBSD-ports-2de5a27ecf7752ffff233030be15cff9b5843335.zip FreeBSD-ports-2de5a27ecf7752ffff233030be15cff9b5843335.tar.gz |
Definitely not my day. Further thought revealed that porteasy.pl rev 1.20
was not only suboptimal, but incorrect to boot. Fix and bump PORTREVISION.
Diffstat (limited to 'misc/porteasy/src')
-rw-r--r-- | misc/porteasy/src/porteasy.pl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl index 33a546e..ec3fdae 100644 --- a/misc/porteasy/src/porteasy.pl +++ b/misc/porteasy/src/porteasy.pl @@ -913,15 +913,13 @@ sub build_port($) { my @makeargs; # Arguments to make() if ($packages) { - push(@makeargs, "package", "DEPENDS_TARGET=package clean"); - foreach (values(%{$port_dep{$port}})) { - if ($_ ne 'install') { - push(@makeargs, "-DNOCLEANDEPENDS"); - last; - } - } + push(@makeargs, "package"); + push(@makeargs, "DEPENDS_TARGET=package clean", "-DNOCLEANDEPENDS") + unless ($dontclean); } else { push(@makeargs, "install"); + push(@makeargs, "DEPENDS_TARGET=install clean", "-DNOCLEANDEPENDS") + unless ($dontclean); } if ($force) { push(@makeargs, "-DFORCE_PKG_REGISTER"); @@ -1095,7 +1093,7 @@ MAIN:{ } # Step 3: update port directories and discover dependencies - $need_deps = ($update || $build || $fetch || $list || $packages); + $need_deps = ($update || $list); update_ports_tree(keys(%reqd)); # Step 4: deselect ports which are already installed |