summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt>2015-06-28 13:09:35 +0000
committergdt <gdt>2015-06-28 13:09:35 +0000
commit5feb86e2cbe3b1a69a02bc37339c225b6c5db0cb (patch)
tree76200a8c3eb0d1d0b6a55b61acb1208711e46b3e
parent3d4d35f80fd0398420d10ad98775baa03d388c8b (diff)
downloadpkgsrc-5feb86e2cbe3b1a69a02bc37339c225b6c5db0cb.tar.gz
Adjust perl script for 5.22 fallout.
Now, if defined(%foo) is an error, and one must use if %foo.
-rw-r--r--print/foomatic-filters/Makefile4
-rw-r--r--print/foomatic-filters/distinfo3
-rw-r--r--print/foomatic-filters/patches/patch-foomatic-gswrapper.in17
3 files changed, 21 insertions, 3 deletions
diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile
index 1847f09c8eb..92e5a9730ac 100644
--- a/print/foomatic-filters/Makefile
+++ b/print/foomatic-filters/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2015/06/12 10:50:57 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2015/06/28 13:09:35 gdt Exp $
.include "Makefile.common"
DISTNAME= foomatic-filters-${FOOMATIC_FILTERS_VERSION}
-PKGREVISION= 11
+PKGREVISION= 12
MASTER_SITES= http://www.linuxprinting.org/download/foomatic/
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/print/foomatic-filters/distinfo b/print/foomatic-filters/distinfo
index aa7d62d4faa..8835cfb0985 100644
--- a/print/foomatic-filters/distinfo
+++ b/print/foomatic-filters/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2012/03/23 11:26:18 obache Exp $
+$NetBSD: distinfo,v 1.6 2015/06/28 13:09:35 gdt 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-foomatic-gswrapper.in) = 7622c2e1e6e21b996207d74414d29c36012e2867
SHA1 (patch-makeMan.in) = 2e317a37ae0f605f57a15555003b09dcc4b53f79
diff --git a/print/foomatic-filters/patches/patch-foomatic-gswrapper.in b/print/foomatic-filters/patches/patch-foomatic-gswrapper.in
new file mode 100644
index 00000000000..8e0e85dfb52
--- /dev/null
+++ b/print/foomatic-filters/patches/patch-foomatic-gswrapper.in
@@ -0,0 +1,17 @@
+$NetBSD: patch-foomatic-gswrapper.in,v 1.1 2015/06/28 13:09:35 gdt Exp $
+
+--- foomatic-gswrapper.in.orig 2004-01-22 03:42:35.000000000 +0000
++++ foomatic-gswrapper.in
+@@ -19,10 +19,10 @@ my $configpath = "@sysconfdir@/foomatic"
+
+ # Set GhostScript path
+ my $gspath = "gs";
+-$gspath = $conf{gspath} if defined(%conf) and defined $conf{gspath};
++$gspath = $conf{gspath} if %conf and defined $conf{gspath};
+ my $execpath = "@prefix@/bin:/usr/local/bin:/usr/bin:/bin";
+ # Get execution path from config file
+-$execpath = $conf{execpath} if defined(%conf) and defined $conf{execpath};
++$execpath = $conf{execpath} if %conf and defined $conf{execpath};
+ $ENV{'PATH'} = $execpath;
+
+ grep (m!\-sOutputFile=\-!