Add a hack to the master detection code to cater for mail/postfix.

Clean up each dependency after building it, to conserve disk space.
This commit is contained in:
Dag-Erling Smørgrav 2002-02-20 00:30:32 +00:00
parent fdbcfc20a2
commit e85f08c22a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54932
4 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@
#
PORTNAME= porteasy
PORTVERSION= 2.6.3
PORTVERSION= 2.6.4
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -33,7 +33,7 @@ use strict;
use Fcntl;
use Getopt::Long;
my $VERSION = "2.6.3";
my $VERSION = "2.6.4";
my $COPYRIGHT = "Copyright (c) 2000 Dag-Erling Smørgrav. All rights reserved.";
# Constants
@ -479,7 +479,7 @@ sub find_master($) {
} elsif (/^\.?include \"([^\"]+)\/Makefile(?:[^\/\"]*)\"\s*$/) {
$master = $1;
}
if (defined($master)) {
if (defined($master) && $master !~ m/WRKDIRPREFIX/) {
$master =~ s/^\$\{.CURDIR\}//;
$master = "/$port/$master";
$master =~ s|/+|/|g;
@ -904,7 +904,7 @@ sub build_port($) {
my @makeargs; # Arguments to make()
if ($packages) {
push(@makeargs, "package", "DEPENDS_TARGET=package");
push(@makeargs, "package", "DEPENDS_TARGET=package clean", "-DNOCLEANDEPENDS");
} else {
push(@makeargs, "install");
}

View File

@ -8,7 +8,7 @@
#
PORTNAME= porteasy
PORTVERSION= 2.6.3
PORTVERSION= 2.6.4
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -33,7 +33,7 @@ use strict;
use Fcntl;
use Getopt::Long;
my $VERSION = "2.6.3";
my $VERSION = "2.6.4";
my $COPYRIGHT = "Copyright (c) 2000 Dag-Erling Smørgrav. All rights reserved.";
# Constants
@ -479,7 +479,7 @@ sub find_master($) {
} elsif (/^\.?include \"([^\"]+)\/Makefile(?:[^\/\"]*)\"\s*$/) {
$master = $1;
}
if (defined($master)) {
if (defined($master) && $master !~ m/WRKDIRPREFIX/) {
$master =~ s/^\$\{.CURDIR\}//;
$master = "/$port/$master";
$master =~ s|/+|/|g;
@ -904,7 +904,7 @@ sub build_port($) {
my @makeargs; # Arguments to make()
if ($packages) {
push(@makeargs, "package", "DEPENDS_TARGET=package");
push(@makeargs, "package", "DEPENDS_TARGET=package clean", "-DNOCLEANDEPENDS");
} else {
push(@makeargs, "install");
}