diff options
author | lofi <lofi@FreeBSD.org> | 2005-01-30 18:29:22 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-01-30 18:29:22 +0800 |
commit | 946a0860f30571d1fb32684a16efa5fc02d3402d (patch) | |
tree | d1b784d88e6354e4a5a2963cafad5a4e62175495 /print/alignmargins/files | |
parent | dd0268471da6662fc29d3acc0f6bca7aedd9092c (diff) | |
download | freebsd-ports-gnome-946a0860f30571d1fb32684a16efa5fc02d3402d.tar.gz freebsd-ports-gnome-946a0860f30571d1fb32684a16efa5fc02d3402d.tar.zst freebsd-ports-gnome-946a0860f30571d1fb32684a16efa5fc02d3402d.zip |
Fix the another big small typo and preemptively fix perl invocation, too.
Diffstat (limited to 'print/alignmargins/files')
-rw-r--r-- | print/alignmargins/files/patch-alignmargins | 15 |
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" |