[152090] trunk/dports/devel/cctools/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Aug 29 01:28:00 PDT 2016
Revision: 152090
https://trac.macports.org/changeset/152090
Author: jeremyhu at macports.org
Date: 2016-08-29 01:28:00 -0700 (Mon, 29 Aug 2016)
Log Message:
-----------
cctools: Fix nm and size to use the classic implementations on Tiger
Modified Paths:
--------------
trunk/dports/devel/cctools/Portfile
Modified: trunk/dports/devel/cctools/Portfile
===================================================================
--- trunk/dports/devel/cctools/Portfile 2016-08-29 08:18:27 UTC (rev 152089)
+++ trunk/dports/devel/cctools/Portfile 2016-08-29 08:28:00 UTC (rev 152090)
@@ -5,7 +5,7 @@
name cctools
# Xcode 7.3.1
version 886
-revision 4
+revision 5
set ld64_version 264.3.102
categories devel
platforms darwin
@@ -88,7 +88,7 @@
set has_llvm_nm true
set has_llvm_size true
-if {${llvm_version} eq "3.3" || ${llvm_version} eq "3.4"} {
+if {${llvm_version} eq "3.3" || ${llvm_version} eq "3.4" || ${llvm_version} eq ""} {
set has_llvm_nm false
set has_llvm_size false
}
@@ -107,7 +107,7 @@
reinplace "/^COMMON_SUBDIRS/s/ ld / /" ${worksrcpath}/Makefile
# Use our chosen version of llvm
- if {${llvm_version} != ""} {
+ if {${llvm_version} ne ""} {
reinplace "s:\"llvm-mc\":\"llvm-mc-mp-${llvm_version}\":" ${worksrcpath}/as/driver.c
reinplace "s:@@LLVM_LIBDIR@@:${prefix}/libexec/llvm-${llvm_version}/lib:" ${worksrcpath}/libstuff/lto.c
}
@@ -156,7 +156,7 @@
RC_ARCHS="[get_canonical_archs]" \
SDK="${configure.cppflags}"
- if {${llvm_version} != ""} {
+ if {${llvm_version} ne ""} {
build.args-append \
LTO=-DLTO_SUPPORT \
RC_CFLAGS="[get_canonical_archflags] `llvm-config-mp-${llvm_version} --cflags`" \
@@ -180,7 +180,7 @@
RC_ARCHS="[get_canonical_archs]" \
SDK="${configure.cppflags}"
- if {${llvm_version} != ""} {
+ if {${llvm_version} ne ""} {
destroot.args-append \
LTO=-DLTO_SUPPORT \
RC_CFLAGS="[get_canonical_archflags] `llvm-config-mp-${llvm_version} --cflags`" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160829/f8b7c91b/attachment.html>
More information about the macports-changes
mailing list