summaryrefslogtreecommitdiff
path: root/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop
blob: c5a5cae73411b3d2f0aba26090b1f01af60edd35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-bin_pdfcrop,v 1.2 2015/04/21 23:41:27 markd Exp $

--- bin/pdfcrop.orig	2012-11-04 23:01:42.000000000 +0000
+++ bin/pdfcrop
@@ -141,6 +141,7 @@ sub exterr () {
 # get Ghostscript command name
 $::opt_gscmd = '';
 sub find_ghostscript () {
+    $::opt_gscmd = "@GHOSTSCRIPT@";
     return if $::opt_gscmd;
     if ($::opt_debug) {
         print "* Perl executable: $^X\n";