From 5983bceb8a8cce5fcdc886ab6b3d12621e049bae Mon Sep 17 00:00:00 2001 From: des Date: Mon, 5 Apr 2004 13:27:21 +0000 Subject: Cosmetic: sort the status report, wrap a long line. --- misc/porteasy/Makefile | 1 + misc/porteasy/src/porteasy.pl | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'misc/porteasy') diff --git a/misc/porteasy/Makefile b/misc/porteasy/Makefile index 536b055f49a4..1b9e4505d397 100644 --- a/misc/porteasy/Makefile +++ b/misc/porteasy/Makefile @@ -9,6 +9,7 @@ PORTNAME= porteasy PORTVERSION= 2.7.13 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= # none DISTFILES= # none diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl index 26195ae3980f..04a8801fd7cc 100644 --- a/misc/porteasy/src/porteasy.pl +++ b/misc/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); } } -- cgit