diff options
-rw-r--r-- | misc/porteasy/Makefile | 1 | ||||
-rw-r--r-- | misc/porteasy/src/porteasy.pl | 8 | ||||
-rw-r--r-- | ports-mgmt/porteasy/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/porteasy/src/porteasy.pl | 8 |
4 files changed, 12 insertions, 6 deletions
diff --git a/misc/porteasy/Makefile b/misc/porteasy/Makefile index 536b055..1b9e450 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 26195ae..04a8801 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); } } diff --git a/ports-mgmt/porteasy/Makefile b/ports-mgmt/porteasy/Makefile index 536b055..1b9e450 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 26195ae..04a8801 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); } } |