[116227] trunk/dports/devel/xnu-headers/Portfile

mfeiri at macports.org mfeiri at macports.org
Tue Jan 21 14:06:45 PST 2014


Revision: 116227
          https://trac.macports.org/changeset/116227
Author:   mfeiri at macports.org
Date:     2014-01-21 14:06:45 -0800 (Tue, 21 Jan 2014)
Log Message:
-----------
xnu-headers: update to 2050.48.11 on darwin 12 and 2422.1.72 for darwin >=13

Modified Paths:
--------------
    trunk/dports/devel/xnu-headers/Portfile

Modified: trunk/dports/devel/xnu-headers/Portfile
===================================================================
--- trunk/dports/devel/xnu-headers/Portfile	2014-01-21 21:58:31 UTC (rev 116226)
+++ trunk/dports/devel/xnu-headers/Portfile	2014-01-21 22:06:45 UTC (rev 116227)
@@ -3,7 +3,7 @@
 
 PortSystem              1.0
 name                    xnu-headers
-version                 2050.22.13
+version                 2422.1.72
 categories              devel
 platforms               darwin
 maintainers             mfeiri openmaintainer
@@ -17,8 +17,8 @@
 homepage                http://opensource.apple.com/source/xnu/
 master_sites            http://opensource.apple.com/tarballs/xnu/
 distname                xnu-${version}
-checksums               rmd160  441c0a19ef10eab6fb33a41169aaefafe4d4c433 \
-                        sha256  54011448f0cbb84792146657f4f5f8f64beca52e63bd0eb6028aadedf153a4d6
+checksums               rmd160  6471a5a0ec5bf48ebba2630dbcb034f9f628210c \
+                        sha256  fbefe23943d0c4c12b3d7abd3f304224176f269b19ef6ad801314bc69cf773db
 
 
 depends_build           port:bootstrap_cmds port:developer_cmds port:dtrace
@@ -82,6 +82,11 @@
 }
 
 platform darwin 12 {
+    version             2050.48.11
+    distname            xnu-${version}
+    checksums           rmd160  45e7adf0310d3089a9e5dad4caface8e3befb1a6 \
+                        sha256  454203188d19a368f850f335a6b4c8fbfc383e929116b2b06e63d8365ccd207e
+
     post-extract {
         reinplace "s|\$(\$\{SDKROOT\}/usr/local/libexec/availability.pl --macosx)|10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8|g" ${worksrcpath}/bsd/sys/make_symbol_aliasing.sh
         reinplace "s|\$(\$\{SDKROOT\}/usr/local/libexec/availability.pl --ios)|2.0 2.1 2.2 3.0 3.1 3.2 4.0 4.1 4.2 4.3 5.0 5.1|g" ${worksrcpath}/bsd/sys/make_symbol_aliasing.sh
@@ -90,5 +95,19 @@
 }
 
 
+platform darwin 13 {
+
+    # disable codesigning to avoid CSSMERR_CSP_INVALID_CONTEXT_HANDLE errors
+    destroot.env-append HOST_CODESIGN=true
+
+    post-extract {
+        # based on http://www.opensource.apple.com/source/AvailabilityVersions/AvailabilityVersions-6/availability.pl
+        reinplace "s|\$(\$\{SDKROOT\}/usr/local/libexec/availability.pl --macosx)|10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9|g" ${worksrcpath}/bsd/sys/make_symbol_aliasing.sh
+        reinplace "s|\$(\$\{SDKROOT\}/usr/local/libexec/availability.pl --ios)|2.0 2.1 2.2 3.0 3.1 3.2 4.0 4.1 4.2 4.3 5.0 5.1 6.0 6.1 7.0|g" ${worksrcpath}/bsd/sys/make_symbol_aliasing.sh
+        reinplace "s|exit 1||g" ${worksrcpath}/bsd/sys/make_symbol_aliasing.sh
+    }
+}
+
+
 livecheck.type          regex
 livecheck.regex         "xnu-(\[\\d.\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140121/00a0f2ca/attachment.html>


More information about the macports-changes mailing list