For those packages where the maintainer field can't be determined by
grepping, run make to get MAINTAINER's value. I've tested this with a script that tries to "simulate" this one without problems, but I can't test it "in place".
This commit is contained in:
parent
3dd597a49e
commit
e05f3f488a
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/pkg/bin/perl
|
||||
# $NetBSD: post-build,v 1.49 2005/01/13 19:29:28 tv Exp $
|
||||
# $NetBSD: post-build,v 1.50 2005/01/14 13:08:28 jmmv Exp $
|
||||
#
|
||||
# Collect stuff after a pkg bulk build
|
||||
#
|
||||
|
@ -227,6 +227,9 @@ sub pkgResult ($$) {
|
|||
|
||||
my $maintainer = `grep ^MAINTAINER $vars{USR_PKGSRC}/$pkg/Makefile`;
|
||||
$maintainer =~ s/MAINTAINER=[ \t]*//;
|
||||
if (! $maintainer) {
|
||||
$maintainer = `cd $vars{USR_PKGSRC}/$pkg ; $BMAKE show-var VARNAME=MAINTAINER`;
|
||||
}
|
||||
$maintainer =~ s/</</g;
|
||||
$maintainer =~ s/>/>/g;
|
||||
chomp($maintainer);
|
||||
|
|
Loading…
Reference in a new issue