diff options
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_distinst/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkg_distinst/files/pkg_distinst.pl | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/pkgtools/pkg_distinst/Makefile b/pkgtools/pkg_distinst/Makefile index 5d83e6f6920..6747d1e8a26 100644 --- a/pkgtools/pkg_distinst/Makefile +++ b/pkgtools/pkg_distinst/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1.1.1 2009/01/04 00:44:38 adrianp Exp $ +# $NetBSD: Makefile,v 1.2 2009/01/06 10:28:38 adrianp Exp $ -DISTNAME= pkg_distinst-0.01 +DISTNAME= pkg_distinst-0.02 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkg_distinst/files/pkg_distinst.pl b/pkgtools/pkg_distinst/files/pkg_distinst.pl index ebaf08c4a08..6241bc7b461 100644 --- a/pkgtools/pkg_distinst/files/pkg_distinst.pl +++ b/pkgtools/pkg_distinst/files/pkg_distinst.pl @@ -1,6 +1,6 @@ #!@PERL5@ -w -# $NetBSD: pkg_distinst.pl,v 1.1.1.1 2009/01/04 00:44:38 adrianp Exp $ +# $NetBSD: pkg_distinst.pl,v 1.2 2009/01/06 10:28:38 adrianp Exp $ use Data::Dumper; use File::Basename; @@ -90,6 +90,14 @@ foreach $ipkg (@installed) { push(@distfiles, @pdistfiles); } + $line = `@MAKE@ show-var VARNAME=PATCHFILES`; + chomp($line); + + if ($line ne "") { + @pdistfiles = split / /, $line; + push(@distfiles, @pdistfiles); + } + print "."; } } |