$OpenBSD: patch-testsuite_lib_pdfgrep_exp,v 1.1 2016/01/15 19:42:40 sthen Exp $
--- testsuite/lib/pdfgrep.exp.orig	Wed Jan 13 15:06:57 2016
+++ testsuite/lib/pdfgrep.exp	Wed Jan 13 15:12:42 2016
@@ -213,7 +213,7 @@ proc reset_configuration {} {
 
 # The directory where the PDFs will be generated.
 # NOTE This will frequently be removed, so don't put important data there
-set pdfdir [exec mktemp --tmpdir -d pdfgrep_tests.XXXXXXXXXX]
+set pdfdir [exec mktemp -t -d pdfgrep_tests.XXXXXXXXXX]
 
 
 # Delete $pdfdir recursively and create it anew
