[140766] trunk/dports/textproc/pdftk/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Oct 2 03:09:17 PDT 2015


Revision: 140766
          https://trac.macports.org/changeset/140766
Author:   ryandesign at macports.org
Date:     2015-10-02 03:09:17 -0700 (Fri, 02 Oct 2015)
Log Message:
-----------
pdftk: prevent installation attempt on OS X 10.11 or greater (#48528)

Modified Paths:
--------------
    trunk/dports/textproc/pdftk/Portfile

Modified: trunk/dports/textproc/pdftk/Portfile
===================================================================
--- trunk/dports/textproc/pdftk/Portfile	2015-10-02 10:05:28 UTC (rev 140765)
+++ trunk/dports/textproc/pdftk/Portfile	2015-10-02 10:09:17 UTC (rev 140766)
@@ -83,6 +83,16 @@
     default_variants    +gcc47
 }
 
+platform darwin {
+    pre-fetch {
+        if {${os.major} > 14} {
+            ui_error "${subport} currently does not build on OS X 10.11 or greater."
+            ui_error "See https://trac.macports.org/ticket/48528"
+            return -code error "incompatible OS X version"
+        }
+    }
+}
+
 livecheck.type          regex
 livecheck.url           https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/
 livecheck.regex         ${name}-(\[0-9.\]+)-src${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151002/3eeb90e2/attachment.html>


More information about the macports-changes mailing list