summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-03-23 11:26:18 +0000
committerobache <obache@pkgsrc.org>2012-03-23 11:26:18 +0000
commit53fac7147f11b3f0ea3e6392e1292b85f3aac83c (patch)
tree2b8a94a9aac0f9cef5bec5c524c3c4eeeb31f3f1 /print
parentde227713f01b8e7355d8ebf092e98451f55a1b9f (diff)
downloadpkgsrc-53fac7147f11b3f0ea3e6392e1292b85f3aac83c.tar.gz
Kill roff file check with `file' command.
Some platform does not have `file' utility, others does not recognize `roff' format as PR 46245. For this package, all wildcard matched files are 'roff' man source files, so it is safe to skip this check.
Diffstat (limited to 'print')
-rw-r--r--print/foomatic-filters/distinfo3
-rw-r--r--print/foomatic-filters/patches/patch-makeMan.in16
2 files changed, 18 insertions, 1 deletions
diff --git a/print/foomatic-filters/distinfo b/print/foomatic-filters/distinfo
index 7219425d4b1..aa7d62d4faa 100644
--- a/print/foomatic-filters/distinfo
+++ b/print/foomatic-filters/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2012/03/23 11:00:14 obache Exp $
+$NetBSD: distinfo,v 1.5 2012/03/23 11:26:18 obache Exp $
SHA1 (foomatic-filters-3.0.2.tar.gz) = 6d949949f432212632c704904272bc32f287b577
RMD160 (foomatic-filters-3.0.2.tar.gz) = 612529ea462f7f1500f30ffed4aec105b410936c
Size (foomatic-filters-3.0.2.tar.gz) = 125875 bytes
SHA1 (patch-aa) = 4b471d5fec7147d82eba47512bf851ed0b9d97a3
+SHA1 (patch-makeMan.in) = 2e317a37ae0f605f57a15555003b09dcc4b53f79
diff --git a/print/foomatic-filters/patches/patch-makeMan.in b/print/foomatic-filters/patches/patch-makeMan.in
new file mode 100644
index 00000000000..dc6539f13be
--- /dev/null
+++ b/print/foomatic-filters/patches/patch-makeMan.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-makeMan.in,v 1.1 2012/03/23 11:26:18 obache Exp $
+
+* some platfoms does not have `file' utilty, others does not recognize such
+ files as `roff'.
+
+--- makeMan.in.orig 2004-01-22 03:42:35.000000000 +0000
++++ makeMan.in
+@@ -29,8 +29,6 @@ foreach my $file (@files)
+ next unless -f $file and $file =~ /^(.*\.[1-9])\.in$/;
+ my ($man) = $1;
+ $man =~ s,.*/,,;
+- next unless ((`file $file` =~ m/\b[ntg]roff\b/) or
+- (`file $file` =~ m/\[nt\]roff/));
+ print STDERR "MATCHED\n" if $VERBOSE;
+ $append = '';
+ open IN, "<$file" or (warn "Can't read input file $file!" and next FILE);