summaryrefslogtreecommitdiff
path: root/print/alignmargins/files/patch-alignmargins
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-01-30 10:29:22 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-01-30 10:29:22 +0000
commitb073a2656d1ce3ce695bf10e308369d915eae853 (patch)
tree6c9e6ea825f511da0bf9c48e0f6322b4db2887ef /print/alignmargins/files/patch-alignmargins
parentSmall typo with big consequences. (diff)
Fix the another big small typo and preemptively fix perl invocation, too.
Notes
Notes: svn path=/head/; revision=127691
Diffstat (limited to 'print/alignmargins/files/patch-alignmargins')
-rw-r--r--print/alignmargins/files/patch-alignmargins15
1 files changed, 8 insertions, 7 deletions
diff --git a/print/alignmargins/files/patch-alignmargins b/print/alignmargins/files/patch-alignmargins
index 20983d8a631f..6a3cb052c85a 100644
--- a/print/alignmargins/files/patch-alignmargins
+++ b/print/alignmargins/files/patch-alignmargins
@@ -1,12 +1,13 @@
---- alignmargins.orig Fri Jan 28 11:19:27 2005
-+++ alignmargins Fri Jan 28 11:22:34 2005
+--- alignmargins.orig Sun Jan 30 11:24:53 2005
++++ alignmargins Sun Jan 30 11:25:06 2005
@@ -1,17 +1,17 @@
- #! /usr/bin/perl
+-#! /usr/bin/perl
++#! /usr/bin/env perl
$0 =~ m!^(.*)/[^/]+$!;
my $programpath = $1;
-my $printcommand = '/usr/bin/lpr -P ';
-my $egrep = '/bin/egrep';
-+my $printcommand = '%%LOCALBASE%%/bin/lpr -P ';
++my $printcommand = '/usr/local/bin/lpr -P ';
+my $egrep = '/usr/bin/egrep';
my $cat = '/bin/cat';
my $cut = '/usr/bin/cut';
@@ -17,9 +18,9 @@
-my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
-my $ppddir = '/etc/cups/ppd';
-my $printerconffile = '/etc/cups/printers.conf';
-+my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:%%DATADIR%%:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
-+my $ppddir = '%%LOCALBASE%%/etc/cups/ppd';
-+my $printerconffile = '%%LOCALBASE%%/etc/cups/printers.conf';
++my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:/usr/local/share/alignmargins:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
++my $ppddir = '/usr/local/etc/cups/ppd';
++my $printerconffile = '/usr/local/etc/cups/printers.conf';
# Find "ælign.ps"