freebsd-ports/textproc/gmat/files/patch-ae
Jens Schweikhardt f537a9bf20 Unbreak this port by replacing the run-time dependency to the
forbidden ghostscript port with one to gv.

Reviewed by:	grog (MAINTAINER)
Approved by:	portmgr (kris via grog)
2002-12-30 11:31:49 +00:00

15 lines
553 B
Text

--- bin/gmat.troff~ Fri Dec 27 15:20:10 2002
+++ bin/gmat.troff Fri Dec 27 15:20:33 2002
@@ -519,10 +519,10 @@
# HANDLE RETURN CODE!
} elsif ($preview) {
print STDERR "Previewing $file.\n" if $VERBOSE;
- print COMMANDS "ghostview $grops_temp\n";
+ print COMMANDS "gv $grops_temp\n";
close (COMMANDS); # so that you can see what's in there
# when the preview window is up...
- system "ghostview $grops_temp";
+ system "gv $grops_temp";
# HANDLE RETURN CODE!
} elsif ($checkonly) {
print STDERR "Checking completed.\n" if $VERBOSE;