[136308] trunk/dports/print/ghostscript/Portfile

devans at macports.org devans at macports.org
Thu May 14 08:34:37 PDT 2015


Revision: 136308
          https://trac.macports.org/changeset/136308
Author:   devans at macports.org
Date:     2015-05-14 08:34:37 -0700 (Thu, 14 May 2015)
Log Message:
-----------
ghostscript: attempt to fix post-destroot strip failure on SL.

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2015-05-14 15:15:00 UTC (rev 136307)
+++ trunk/dports/print/ghostscript/Portfile	2015-05-14 15:34:37 UTC (rev 136308)
@@ -54,7 +54,9 @@
 #                   port:lcms2
 #                   port:ijs
 
-depends_build       port:pkgconfig
+depends_build       port:pkgconfig \
+                    port:cctools
+
 depends_run         port:perl5
 
 extract.only        ${distname}.tar.gz \
@@ -115,7 +117,7 @@
 
 destroot.target     soinstall
 post-destroot {
-    system "strip ${destroot}${prefix}/bin/gsc ${destroot}${prefix}/bin/gsx"
+    system "${prefix}/bin/strip ${destroot}${prefix}/bin/gsc ${destroot}${prefix}/bin/gsx"
     ln -s gsc ${destroot}${prefix}/bin/gs
 
     xinstall -m 755 -d ${destroot}${prefix}/share/${name}/fonts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150514/6330349e/attachment.html>


More information about the macports-changes mailing list