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

sean at macports.org sean at macports.org
Thu Sep 1 10:56:43 PDT 2016


Revision: 152241
          https://trac.macports.org/changeset/152241
Author:   sean at macports.org
Date:     2016-09-01 10:56:43 -0700 (Thu, 01 Sep 2016)
Log Message:
-----------
zstd: replace cp -a with cp -pPR; fixes #52151

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

Modified: trunk/dports/archivers/zstd/Portfile
===================================================================
--- trunk/dports/archivers/zstd/Portfile	2016-09-01 17:55:10 UTC (rev 152240)
+++ trunk/dports/archivers/zstd/Portfile	2016-09-01 17:56:43 UTC (rev 152241)
@@ -21,6 +21,10 @@
 
 use_configure       no
 
+post-patch {
+    reinplace -W ${worksrcpath}/lib "s, at cp -a, at cp -pPr," Makefile
+}
+
 build.env-append    CC="${configure.cc} [get_canonical_archflags cc]" \
                     CFLAGS="${configure.cflags}" \
                     PREFIX="${prefix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160901/c6db5824/attachment-0001.html>


More information about the macports-changes mailing list