Cosmetic: sort the status report, wrap a long line.
This commit is contained in:
parent
f9af6da84e
commit
3cd8af21a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106234
4 changed files with 12 additions and 6 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
PORTNAME= porteasy
|
||||
PORTVERSION= 2.7.13
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
|
|
@ -1018,8 +1018,10 @@ sub build_port($) {
|
|||
push(@makeargs, "DEPENDS_CLEAN=YES");
|
||||
}
|
||||
setproctitle("building $port");
|
||||
make($port, @makeargs)
|
||||
or bsd::errx(1, "failed to %s %s", $packages ? "package" : "build", $port);
|
||||
if (!make($port, @makeargs)) {
|
||||
bsd::errx(1, "failed to %s %s",
|
||||
$packages ? "package" : "build", $port);
|
||||
}
|
||||
setproctitle();
|
||||
}
|
||||
|
||||
|
@ -1226,7 +1228,7 @@ MAIN:{
|
|||
|
||||
# Step 6: list installed ports
|
||||
if ($status) {
|
||||
foreach $port (keys(%reqd)) {
|
||||
foreach $port (sort({ $pkgname{$a} cmp $pkgname{$b} } keys(%reqd))) {
|
||||
show_port_status($port);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
PORTNAME= porteasy
|
||||
PORTVERSION= 2.7.13
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
|
|
@ -1018,8 +1018,10 @@ sub build_port($) {
|
|||
push(@makeargs, "DEPENDS_CLEAN=YES");
|
||||
}
|
||||
setproctitle("building $port");
|
||||
make($port, @makeargs)
|
||||
or bsd::errx(1, "failed to %s %s", $packages ? "package" : "build", $port);
|
||||
if (!make($port, @makeargs)) {
|
||||
bsd::errx(1, "failed to %s %s",
|
||||
$packages ? "package" : "build", $port);
|
||||
}
|
||||
setproctitle();
|
||||
}
|
||||
|
||||
|
@ -1226,7 +1228,7 @@ MAIN:{
|
|||
|
||||
# Step 6: list installed ports
|
||||
if ($status) {
|
||||
foreach $port (keys(%reqd)) {
|
||||
foreach $port (sort({ $pkgname{$a} cmp $pkgname{$b} } keys(%reqd))) {
|
||||
show_port_status($port);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue