let check-newlib-depends use the new targets
This commit is contained in:
parent
5efd6b68e4
commit
1ef1f2940b
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
# $OpenBSD: check-newlib-depends,v 1.19 2006/11/11 13:11:45 espie Exp $
|
||||
# $OpenBSD: check-newlib-depends,v 1.20 2006/12/18 12:53:09 espie Exp $
|
||||
# Copyright (c) 2004 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for any
|
||||
@ -169,7 +169,7 @@ sub get_plist
|
||||
# ask the ports tree
|
||||
my $portsdir = $ENV{PORTSDIR} || "/usr/ports";
|
||||
my $make = $ENV{MAKE} || "make";
|
||||
open my $fh, "cd $portsdir && env -i SUBDIR=$pkgpath ECHO_MSG=: make print-plist |" or return undef;
|
||||
open my $fh, "cd $portsdir && env -i SUBDIR=$pkgpath ECHO_MSG=: make print-plist-with-depends |" or return undef;
|
||||
my $plist = OpenBSD::PackingList->read($fh);
|
||||
close $fh;
|
||||
return $plist;
|
||||
|
Loading…
Reference in New Issue
Block a user