[116229] trunk/dports/devel/libc-headers/Portfile

mfeiri at macports.org mfeiri at macports.org
Tue Jan 21 14:07:47 PST 2014


Revision: 116229
          https://trac.macports.org/changeset/116229
Author:   mfeiri at macports.org
Date:     2014-01-21 14:07:46 -0800 (Tue, 21 Jan 2014)
Log Message:
-----------
libc-headers: update to 825.40.1 on darwin 12 and 997.1.1 for darwin >=13

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

Modified: trunk/dports/devel/libc-headers/Portfile
===================================================================
--- trunk/dports/devel/libc-headers/Portfile	2014-01-21 22:07:14 UTC (rev 116228)
+++ trunk/dports/devel/libc-headers/Portfile	2014-01-21 22:07:46 UTC (rev 116229)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 name                    libc-headers
 revision                1
-version                 825.26
+version                 997.1.1
 categories              devel
 platforms               macosx
 maintainers             mfeiri openmaintainer
@@ -17,8 +17,8 @@
 
 distname                Libc-${version}
 
-checksums               rmd160  049a2571ea2ee6b0d69f805db7aa0bd8376a950f \
-                        sha256  cad389f3bd3c661a2f12e14073a2ec01675e63094673c6217730893e7e60e273
+checksums               rmd160  a6d0700f16e564b99ec3886f361088404d9820bc \
+                        sha256  2a93e74078d43c28ea1986b9f08ffebc49c92f9c6a38e32b69574949e4ba687b
 
 conflicts               libpftputil
 depends_build           path:bin/unifdef:developer_cmds
@@ -70,20 +70,55 @@
 }
 
 platform darwin 12 {
+    version             825.40.1
+    distname            Libc-${version}
+    checksums           rmd160  9ab5a7dba00ba5e45c89d5532ccc2f5d62bbf271 \
+                        sha256  8ef12ebf437227bbe2f6661ef14c6465fa962c84d052b233ab943f516a0c5d77
 
     pre-destroot {
-        reinplace "s|/System/Library|/Library|g" ${worksrcpath}/xcodescripts/headers.sh
-        reinplace "s|/usr||g" ${worksrcpath}/xcodescripts/manpages.sh
+        #file mkdir ${destroot}${prefix}/Developer/SDKs/Darwin${os.major}.sdk/usr/local
+         reinplace "s|/System/Library|/Library|g" ${worksrcpath}/xcodescripts/headers.sh
+         reinplace "s|/usr||g" ${worksrcpath}/xcodescripts/manpages.sh
         file attributes ${worksrcpath}/xcodescripts/headers.sh -permissions +x
         file attributes ${worksrcpath}/xcodescripts/manpages.sh -permissions +x
     }
 
     destroot.env        ARCHS=${build_arch} PLATFORM_NAME=${platforms} \
-                        DSTROOT=${destroot}${prefix} DERIVED_FILES_DIR=${workpath} \
-                        SRCROOT=${worksrcpath} PUBLIC_HEADERS_FOLDER_PATH=/include \
-                        PRIVATE_HEADERS_FOLDER_PATH=/include
+                         DSTROOT=${destroot}${prefix} DERIVED_FILES_DIR=${workpath} \
+                         SRCROOT=${worksrcpath} PUBLIC_HEADERS_FOLDER_PATH=/include \                       
+                         PRIVATE_HEADERS_FOLDER_PATH=/include
+#
+#                        DSTROOT=${destroot}${prefix}/Developer/SDKs/Darwin${os.major}.sdk \
+#                        DERIVED_FILES_DIR=${workpath} SRCROOT=${worksrcpath} \
+#                        PUBLIC_HEADERS_FOLDER_PATH=/usr/include \
+#                        PRIVATE_HEADERS_FOLDER_PATH=/usr/local/include
+
     destroot.cmd        "./xcodescripts/headers.sh && ./xcodescripts/manpages.sh"
 }
 
+
+platform darwin 13 {
+    pre-destroot {
+        #file mkdir ${destroot}${prefix}/Developer/SDKs/Darwin${os.major}.sdk/usr/local
+         reinplace "s|/System/Library|/Library|g" ${worksrcpath}/xcodescripts/headers.sh
+         reinplace "s|/usr||g" ${worksrcpath}/xcodescripts/manpages.sh
+        file attributes ${worksrcpath}/xcodescripts/headers.sh -permissions +x
+        file attributes ${worksrcpath}/xcodescripts/manpages.sh -permissions +x
+    }
+
+    destroot.env        ARCHS=${build_arch} PLATFORM_NAME=${platforms} \
+                         DSTROOT=${destroot}${prefix} DERIVED_FILES_DIR=${workpath} \
+                         SRCROOT=${worksrcpath} PUBLIC_HEADERS_FOLDER_PATH=/include \
+                         PRIVATE_HEADERS_FOLDER_PATH=/include
+#
+#                        DSTROOT=${destroot}${prefix}/Developer/SDKs/Darwin${os.major}.sdk \
+#                        DERIVED_FILES_DIR=${workpath} SRCROOT=${worksrcpath} \
+#                        PUBLIC_HEADERS_FOLDER_PATH=/usr/include \
+#                        PRIVATE_HEADERS_FOLDER_PATH=/usr/local/include
+
+    destroot.cmd        "./xcodescripts/headers.sh && ./xcodescripts/manpages.sh"
+}
+
+
 livecheck.type          regex
 livecheck.regex         "Libc-(\[\\d.\]+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140121/146c80ba/attachment.html>


More information about the macports-changes mailing list