fix for recent infrastructure changes

also fix for FULLPATH !
This commit is contained in:
espie 2011-11-16 22:57:54 +00:00
parent 12e4da425d
commit ed36f69a32

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# $OpenBSD: out-of-date,v 1.1 2011/11/16 22:57:03 espie Exp $
# $OpenBSD: out-of-date,v 1.2 2011/11/16 22:57:54 espie Exp $
#
# Copyright (c) 2005 Bernd Ahlers <bernd@openbsd.org>
#
@ -148,12 +148,8 @@ sub collect_port_signatures
my $TMPDIR = $ENV{'TMPDIR'} || "/tmp";
my $tempdir = File::Temp::tempdir("libcache.XXXXXXX", DIR => $TMPDIR, CLEANUP => 1);
$ENV{'_DEPENDS_CACHE'} = "$tempdir/depends_cache";
$ENV{'_DEPENDS_FILE'} = "$tempdir/depends_file";
$ENV{'_PORT_LIBS_CACHE'} = $tempdir;
open(my $touch, '>', "$tempdir/depends_file");
close($touch);
my $cmd = "cd $portsdir && SUBDIR=\"".join(' ', @subdirs)
$ENV{'_DEPENDS_CACHE'} = $tempdir;
my $cmd = "cd $portsdir && FULLPATH=Yes SUBDIR=\"".join(' ', @subdirs)
."\" REPORT_PROBLEM=true make print-package-signature |";
my $count = 0;