1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Definitely not my day. Further thought revealed that porteasy.pl rev 1.20

was not only suboptimal, but incorrect to boot.  Fix and bump PORTREVISION.
This commit is contained in:
Dag-Erling Smørgrav 2002-02-24 15:36:32 +00:00
parent f00af35fa7
commit a33c7d02b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55187
4 changed files with 14 additions and 16 deletions

View File

@ -9,6 +9,7 @@
PORTNAME= porteasy
PORTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -913,15 +913,13 @@ sub build_port($) {
my @makeargs; # Arguments to make()
if ($packages) {
push(@makeargs, "package", "DEPENDS_TARGET=package clean");
foreach (values(%{$port_dep{$port}})) {
if ($_ ne 'install') {
push(@makeargs, "-DNOCLEANDEPENDS");
last;
}
}
push(@makeargs, "package");
push(@makeargs, "DEPENDS_TARGET=package clean", "-DNOCLEANDEPENDS")
unless ($dontclean);
} else {
push(@makeargs, "install");
push(@makeargs, "DEPENDS_TARGET=install clean", "-DNOCLEANDEPENDS")
unless ($dontclean);
}
if ($force) {
push(@makeargs, "-DFORCE_PKG_REGISTER");
@ -1095,7 +1093,7 @@ MAIN:{
}
# Step 3: update port directories and discover dependencies
$need_deps = ($update || $build || $fetch || $list || $packages);
$need_deps = ($update || $list);
update_ports_tree(keys(%reqd));
# Step 4: deselect ports which are already installed

View File

@ -9,6 +9,7 @@
PORTNAME= porteasy
PORTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -913,15 +913,13 @@ sub build_port($) {
my @makeargs; # Arguments to make()
if ($packages) {
push(@makeargs, "package", "DEPENDS_TARGET=package clean");
foreach (values(%{$port_dep{$port}})) {
if ($_ ne 'install') {
push(@makeargs, "-DNOCLEANDEPENDS");
last;
}
}
push(@makeargs, "package");
push(@makeargs, "DEPENDS_TARGET=package clean", "-DNOCLEANDEPENDS")
unless ($dontclean);
} else {
push(@makeargs, "install");
push(@makeargs, "DEPENDS_TARGET=install clean", "-DNOCLEANDEPENDS")
unless ($dontclean);
}
if ($force) {
push(@makeargs, "-DFORCE_PKG_REGISTER");
@ -1095,7 +1093,7 @@ MAIN:{
}
# Step 3: update port directories and discover dependencies
$need_deps = ($update || $build || $fetch || $list || $packages);
$need_deps = ($update || $list);
update_ports_tree(keys(%reqd));
# Step 4: deselect ports which are already installed