aboutsummaryrefslogtreecommitdiff
path: root/misc/porteasy/src
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-10-13 19:53:36 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-10-13 19:53:36 +0000
commit6a8714c9fd3187d015f98bde5b28a991ace336c3 (patch)
treea27db1bfe770a0081fcda795bd32a0cedeadb7a9 /misc/porteasy/src
parent7dcee28f2e19e017f04a3dce6180635804bdb0ba (diff)
downloadports-6a8714c9fd3187d015f98bde5b28a991ace336c3.tar.gz
ports-6a8714c9fd3187d015f98bde5b28a991ace336c3.zip
Notes
Diffstat (limited to 'misc/porteasy/src')
-rw-r--r--misc/porteasy/src/porteasy.pl16
1 files changed, 13 insertions, 3 deletions
diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl
index 388c4b9f3dd7..9cfb1e469a8d 100644
--- a/misc/porteasy/src/porteasy.pl
+++ b/misc/porteasy/src/porteasy.pl
@@ -33,7 +33,7 @@ use strict;
use Fcntl;
use Getopt::Long;
-my $VERSION = "2.7.17";
+my $VERSION = "2.7.18";
my $COPYRIGHT = "Copyright (c) 2000-2004 Dag-Erling Smørgrav. " .
"All rights reserved.";
@@ -275,7 +275,7 @@ sub cvs($;@) {
if (!$verbose) {
push(@args, "-q");
}
- push(@args, "-f", "-z3", "-R", "-d$cvsroot", $cmd, "-A");
+ push(@args, "-f", "-z3", "-R", "-d$cvsroot", $cmd, "-A", "-T");
if ($cmd eq "checkout") {
push(@args, "-P");
} elsif ($cmd eq "update") {
@@ -771,6 +771,12 @@ sub update_ports_tree(@) {
# Process all unprocessed ports we know of so far
foreach my $port (@update_now) {
next if ($processed{$port});
+ if (! -f "$portsdir/$port/Makefile") {
+ bsd::warnx("$port does not exist in $portsdir");
+ $pkgname{$port} = $installed{$port}->[0] || "";
+ $processed{$port} = 1;
+ next;
+ }
setproctitle("updating $port");
# See if the port has an unprocessed master port
@@ -972,7 +978,11 @@ sub show_port_status($) {
if ($installed{$port}) {
foreach my $pkg (@{$installed{$port}}) {
- $cmp = cmp_version($pkg, $pkgname{$port});
+ if (-d "$portsdir/$port") {
+ $cmp = cmp_version($pkg, $pkgname{$port});
+ } else {
+ $cmp = '?';
+ }
if ($cmp eq '=') {
print(" $pkg\n");
} else {