[91268] trunk/dports/devel/odcctools/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Mar 27 22:08:26 PDT 2012
Revision: 91268
https://trac.macports.org/changeset/91268
Author: jeremyhu at macports.org
Date: 2012-03-27 22:08:25 -0700 (Tue, 27 Mar 2012)
Log Message:
-----------
odcctools: Use libprunetrie.a from ld64
Modified Paths:
--------------
trunk/dports/devel/odcctools/Portfile
Modified: trunk/dports/devel/odcctools/Portfile
===================================================================
--- trunk/dports/devel/odcctools/Portfile 2012-03-28 04:52:05 UTC (rev 91267)
+++ trunk/dports/devel/odcctools/Portfile 2012-03-28 05:08:25 UTC (rev 91268)
@@ -7,7 +7,7 @@
set my_name cctools
epoch 1
version 822
-revision 1
+revision 2
set llvm_version 3.0
categories devel
maintainers jeremyhu openmaintainer
@@ -32,7 +32,8 @@
sha1 bd04447522aa69c1f71ab01811ac46dca23b92b7 \
rmd160 1caf207acbf421cdc975926a392fc75dc1d2594c
-depends_lib port:llvm-${llvm_version}
+depends_build port:ld64
+depends_run port:llvm-${llvm_version}
post-patch {
reinplace "s:\"llvm-mc\":\"llvm-mc-mp-${llvm_version}\":" ${worksrcpath}/as/driver.c
@@ -50,7 +51,7 @@
build.target all
build.args-append \
- TRIE="" \
+ TRIE=-DTRIE_SUPPORT \
USE_DEPENDENCY_FILE=NO \
BUILD_DYLIBS=NO \
LTO=-DLTO_SUPPORT \
@@ -60,7 +61,7 @@
LLVM_MC="llvm-mc-mp-${llvm_version}"
destroot.args-append \
- TRIE="" \
+ TRIE=-DTRIE_SUPPORT \
USE_DEPENDENCY_FILE=NO \
BUILD_DYLIBS=NO \
LTO=-DLTO_SUPPORT \
@@ -84,5 +85,7 @@
destroot.args-append DSTROOT=${destroot}
post-destroot {
- system "rm -rf ${destroot}${prefix}/{OpenSourceLicenses,OpenSourceVersions,RelNotes}"
+ file delete -force ${destroot}${prefix}/OpenSourceLicenses
+ file delete -force ${destroot}${prefix}/OpenSourceVersions
+ file delete -force ${destroot}${prefix}/RelNotes
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120327/6177c449/attachment.html>
More information about the macports-changes
mailing list