ports/math/asymptote/files/patch-settings.cc
Tijl Coosemans 77760fcb63 Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.

Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.

Fix print/ghostscript9-agpl-base to install eps2write.

Update math/asymptote to 2.37 to support newer Ghostscript.

PR:		208159
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-24 15:47:50 +00:00

11 lines
334 B
C++

--- settings.cc.orig 2016-03-14 05:33:18 UTC
+++ settings.cc
@@ -95,7 +95,7 @@ string defaultPSViewer="gv";
#ifdef __APPLE__
string defaultPDFViewer="open";
#else
-string defaultPDFViewer="acroread";
+string defaultPDFViewer="gv";
#endif
string defaultGhostscript="gs";
string defaultGhostscriptLibrary="/usr/lib/libgs.so";