From 77760fcb6307bb10ac6bbf1653f33308bc4ffeb2 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Thu, 24 Mar 2016 15:47:50 +0000 Subject: 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) --- math/asymptote/files/patch-settings.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'math/asymptote/files/patch-settings.cc') diff --git a/math/asymptote/files/patch-settings.cc b/math/asymptote/files/patch-settings.cc index dcb5e22de367..0746f38efa69 100644 --- a/math/asymptote/files/patch-settings.cc +++ b/math/asymptote/files/patch-settings.cc @@ -1,6 +1,6 @@ ---- ./settings.cc.orig 2014-05-22 18:11:31.000000000 +0200 -+++ ./settings.cc 2014-05-27 05:26:36.000000000 +0200 -@@ -94,10 +94,10 @@ +--- 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 @@ -8,8 +8,4 @@ +string defaultPDFViewer="gv"; #endif string defaultGhostscript="gs"; --string defaultGhostscriptLibrary="/usr/lib/libgs.so"; -+string defaultGhostscriptLibrary="/usr/local/lib/libgs.so"; - string defaultDisplay="display"; - string defaultAnimate="animate"; - void queryRegistry() {} + string defaultGhostscriptLibrary="/usr/lib/libgs.so"; -- cgit v1.2.3