diff options
author | jmmv <jmmv@pkgsrc.org> | 2005-01-14 13:08:28 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2005-01-14 13:08:28 +0000 |
commit | e05f3f488a1b8dcd87a171a7b732aac7df982f8a (patch) | |
tree | 437506bc176765794bdac1195849d15ab2441a72 /mk | |
parent | 3dd597a49e3dab1a5a2f11cd9213ec9d82574994 (diff) | |
download | pkgsrc-e05f3f488a1b8dcd87a171a7b732aac7df982f8a.tar.gz |
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".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/post-build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build index 2beb1924854..570edd2cd60 100644 --- a/mk/bulk/post-build +++ b/mk/bulk/post-build @@ -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); |