[133151] trunk/dports/archivers/p7zip
cal at macports.org
cal at macports.org
Sun Feb 22 03:25:39 PST 2015
Revision: 133151
https://trac.macports.org/changeset/133151
Author: cal at macports.org
Date: 2015-02-22 03:25:38 -0800 (Sun, 22 Feb 2015)
Log Message:
-----------
p7zip: update to 9.38, closes #46922, openmaintainer
Additionally, switch to modern checksum types, use [get_canonical_archflags]
and ensure p7zip is UsingTheRightCompiler, remove default "use_parallel_build
yes". Passes all tests on my 10.10 box.
Modified Paths:
--------------
trunk/dports/archivers/p7zip/Portfile
Removed Paths:
-------------
trunk/dports/archivers/p7zip/files/
Modified: trunk/dports/archivers/p7zip/Portfile
===================================================================
--- trunk/dports/archivers/p7zip/Portfile 2015-02-22 07:00:03 UTC (rev 133150)
+++ trunk/dports/archivers/p7zip/Portfile 2015-02-22 11:25:38 UTC (rev 133151)
@@ -3,8 +3,7 @@
PortSystem 1.0
name p7zip
-version 9.20.1
-revision 1
+version 9.38
categories archivers
# contains unrar code which has a restrictive license
license LGPL-2.1+ Restrictive/Distributable
@@ -23,31 +22,26 @@
use_bzip2 yes
distfiles ${distname}_src_all${extract.suffix}
-checksums md5 bd6caaea567dc0d995c990c5cc883c89 \
- sha1 1cd567e043ee054bf08244ce15f32cb3258306b7 \
- rmd160 c3ff2dd12459282b46d9a68ab4af7800ff46039f
+checksums rmd160 ae7fc4f25c602644838667bd8c09038bda035024 \
+ sha256 a73bae37461c8e51ac8ad7db186f82c8fb7d1e140098efe21a9f0e95d68ab957
-patchfiles patch-install.sh.diff
+variant universal {}
configure {
copy -force ${worksrcpath}/makefile.macosx_32bits ${worksrcpath}/makefile.machine
- reinplace "s|CXX=c++ |CXX=${configure.cxx} |g" \
+ reinplace "s|^CXX=c++|CXX=${configure.cxx}|g" \
${worksrcpath}/makefile.machine
- reinplace "s|CC=cc |CC=${configure.cc} |g" \
+ reinplace "s|^CC=cc|CC=${configure.cc}|g" \
${worksrcpath}/makefile.machine
reinplace "s|-m32||g" \
${worksrcpath}/makefile.machine
- if {[variant_isset universal]} {
- reinplace "s|\$(LOCAL_FLAGS)|${configure.universal_cflags} \$(LOCAL_FLAGS)|g" \
+ reinplace "s|\$(LOCAL_FLAGS)|[get_canonical_archflags] \$(LOCAL_FLAGS)|g" \
${worksrcpath}/makefile.machine
- }
}
# build 7za, 7z and 7zr
build.target all3
-use_parallel_build yes
-
destroot.destdir DEST_HOME=${prefix} \
DEST_SHARE_DOC=${prefix}/share/doc/${name}-${version} \
DEST_MAN=${prefix}/share/man \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150222/2bb47a83/attachment.html>
More information about the macports-changes
mailing list