$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";
