[152242] trunk/dports/archivers/zstd/Portfile

sean at macports.org sean at macports.org
Thu Sep 1 11:03:49 PDT 2016


Revision: 152242
          https://trac.macports.org/changeset/152242
Author:   sean at macports.org
Date:     2016-09-01 11:03:49 -0700 (Thu, 01 Sep 2016)
Log Message:
-----------
zstd: protect post-patch just for leopard

Damn me for committing before I've had coffee. Mornings are for coffee
and contemplation.

Modified Paths:
--------------
    trunk/dports/archivers/zstd/Portfile

Modified: trunk/dports/archivers/zstd/Portfile
===================================================================
--- trunk/dports/archivers/zstd/Portfile	2016-09-01 17:56:43 UTC (rev 152241)
+++ trunk/dports/archivers/zstd/Portfile	2016-09-01 18:03:49 UTC (rev 152242)
@@ -21,8 +21,10 @@
 
 use_configure       no
 
-post-patch {
-    reinplace -W ${worksrcpath}/lib "s, at cp -a, at cp -pPr," Makefile
+platform darwin 9 {
+    post-patch {
+        reinplace -W ${worksrcpath}/lib "s, at cp -a, at cp -pPr," Makefile
+    }
 }
 
 build.env-append    CC="${configure.cc} [get_canonical_archflags cc]" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160901/2f1e0483/attachment.html>


More information about the macports-changes mailing list