[144543] trunk/dports/devel/ld64/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Jan 11 22:54:08 PST 2016
Revision: 144543
https://trac.macports.org/changeset/144543
Author: jeremyhu at macports.org
Date: 2016-01-11 22:54:08 -0800 (Mon, 11 Jan 2016)
Log Message:
-----------
ld64: Remove dependency on dyld-headers
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2016-01-12 05:13:04 UTC (rev 144542)
+++ trunk/dports/devel/ld64/Portfile 2016-01-12 06:54:08 UTC (rev 144543)
@@ -6,28 +6,46 @@
name ld64
epoch 2
version 2
+set dyld_version 360.18
categories devel
platforms darwin
maintainers jeremyhu
homepage http://opensource.apple.com/source/${name}/
-master_sites http://opensource.apple.com/tarballs/${name}/
+master_sites http://opensource.apple.com/tarballs/${name} \
+ http://opensource.apple.com/tarballs/dyld
license APSL-2
installs_libs no
description ld64 is the new mach-o linker
long_description ld64 combines several object files and libraries, \
resolves references, and produces an ouput file.
+checksums ld64-97-standalone-libunwind-headers.patch \
+ rmd160 f6da71e097aa61b1055b3fdc12cd39aafed5f492 \
+ sha256 370d02757ea628b5dd145c099e42fc4eb88cc09cf459a59e32d14bbc9b4a105e \
+ dyld-360.18.tar.gz \
+ rmd160 aeb3144549ec276b028b979680f5056da4d63747 \
+ sha256 a5bec8c2e3bded111aec7e447b35c110038e822f95e11e55b9a4d331fbaeff08 \
+ ld64-97.17.tar.gz \
+ rmd160 d52df7d7f741c8bedd29cbac73dbb9db992b4795 \
+ sha256 02bd46af0809eaa415d096d7d41c3e8e7d80f7d8d181840866fb87f036b4e089 \
+ ld64-127.2.tar.gz \
+ rmd160 8ee709341549a1944732daef6ebab7ef1acfcc6e \
+ sha256 97b75547b2bd761306ab3e15ae297f01e7ab9760b922bc657f4ef72e4e052142 \
+ ld64-136.tar.gz \
+ rmd160 4a2930ccdd398b63a108810e90293ab96dc154a0 \
+ sha256 99d6c4acb6d4cdf45772951dd2308222aa966763170137459a9d276674645d9e \
+ ld64-236.3.tar.gz \
+ rmd160 6a3f44aa9ae57a60d2cff5b3d47be7972ad83029 \
+ sha256 8ef36729b643201081ab45ebd8586ede8f9968bc17614b679a940faa82875ca6 \
+ ld64-253.3.tar.gz \
+ rmd160 05a334fa636bf05a36eac3e745101f8f2dcab70b \
+ sha256 76c02f6f297c251b66504e1115946bda6e1618640bc6cf03d0ad99b17bd8a5d6
+
+
subport ld64-97 {
# XCode 3.2.6
version 97.17
- checksums ld64-97-standalone-libunwind-headers.patch \
- rmd160 f6da71e097aa61b1055b3fdc12cd39aafed5f492 \
- sha256 370d02757ea628b5dd145c099e42fc4eb88cc09cf459a59e32d14bbc9b4a105e \
- ld64-97.17.tar.gz \
- rmd160 d52df7d7f741c8bedd29cbac73dbb9db992b4795 \
- sha256 02bd46af0809eaa415d096d7d41c3e8e7d80f7d8d181840866fb87f036b4e089
-
set makefile "Makefile-97"
set ld64_ver 97
@@ -58,9 +76,6 @@
version 127.2
revision 2
- checksums rmd160 8ee709341549a1944732daef6ebab7ef1acfcc6e \
- sha256 97b75547b2bd761306ab3e15ae297f01e7ab9760b922bc657f4ef72e4e052142
-
set makefile "Makefile-127"
set ld64_ver 127
@@ -83,9 +98,6 @@
version 136
revision 2
- checksums rmd160 4a2930ccdd398b63a108810e90293ab96dc154a0 \
- sha256 99d6c4acb6d4cdf45772951dd2308222aa966763170137459a9d276674645d9e
-
set makefile "Makefile-133"
set ld64_ver 136
@@ -113,9 +125,6 @@
# XCode 5.1
version 236.3
- checksums rmd160 6a3f44aa9ae57a60d2cff5b3d47be7972ad83029 \
- sha256 8ef36729b643201081ab45ebd8586ede8f9968bc17614b679a940faa82875ca6
-
# http://trac.macports.org/ticket/43737
# < 100 is a guess. Xcode 4.1 might work, so I'm leaving it as an option unless someone reports a failure.
compiler.blacklist-append *gcc* {clang < 100}
@@ -148,9 +157,6 @@
# XCode 7.0
version 253.3
- checksums rmd160 05a334fa636bf05a36eac3e745101f8f2dcab70b \
- sha256 76c02f6f297c251b66504e1115946bda6e1618640bc6cf03d0ad99b17bd8a5d6
-
# https://trac.macports.org/ticket/43737
# https://trac.macports.org/ticket/50130
compiler.blacklist-append *gcc* {clang < 300}
@@ -248,9 +254,10 @@
xinstall -m 755 ${filespath}/ld-xcode ${destroot}${prefix}/bin/ld-xcode
}
} else {
- depends_build path:include/mach-o/dyld_priv.h:dyld-headers \
- path:include/mach-o/arm/reloc.h:libmacho-headers
+ distfiles dyld-${dyld_version}.tar.gz ${name}-${version}.tar.gz
+ depends_build path:include/mach-o/arm/reloc.h:libmacho-headers
+
if {[string match macports-clang-* ${configure.compiler}]} {
# For a new enough install_name_tool
depends_build-append port:cctools
@@ -358,6 +365,8 @@
set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
}
+ configure.cppflags-append -I${workpath}/dyld-${dyld_version}/include
+
build.args \
CC="${configure.cc}" \
CXX="${configure.cxx}" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160111/0a417ad0/attachment.html>
More information about the macports-changes
mailing list