summaryrefslogtreecommitdiff
path: root/ports-mgmt/porteasy
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-04-05 13:27:21 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-04-05 13:27:21 +0000
commit3cd8af21a213f71630b07fa82de28c74a6f2ed08 (patch)
tree669e253546b6c2bd30934ce725716446ac728d2d /ports-mgmt/porteasy
parentFix build with gtk 2.4. (diff)
Cosmetic: sort the status report, wrap a long line.
Notes
Notes: svn path=/head/; revision=106234
Diffstat (limited to 'ports-mgmt/porteasy')
-rw-r--r--ports-mgmt/porteasy/Makefile1
-rw-r--r--ports-mgmt/porteasy/src/porteasy.pl8
2 files changed, 6 insertions, 3 deletions
diff --git a/ports-mgmt/porteasy/Makefile b/ports-mgmt/porteasy/Makefile
index 536b055f49a4..1b9e4505d397 100644
--- a/ports-mgmt/porteasy/Makefile
+++ b/ports-mgmt/porteasy/Makefile
@@ -9,6 +9,7 @@
PORTNAME= porteasy
PORTVERSION= 2.7.13
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/porteasy/src/porteasy.pl b/ports-mgmt/porteasy/src/porteasy.pl
index 26195ae3980f..04a8801fd7cc 100644
--- a/ports-mgmt/porteasy/src/porteasy.pl
+++ b/ports-mgmt/porteasy/src/porteasy.pl
@@ -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);
}
}