[117877] trunk/dports/cross/avr-binutils/Portfile
larryv at macports.org
larryv at macports.org
Sat Mar 15 19:08:49 PDT 2014
Revision: 117877
https://trac.macports.org/changeset/117877
Author: larryv at macports.org
Date: 2014-03-15 19:08:49 -0700 (Sat, 15 Mar 2014)
Log Message:
-----------
avr-binutils: Install libiberty and a bunch of headers.
Since crossbinutils-1.0 adds "--enable-install-libiberty" to
configure.args, I'm assuming that this is the desired behavior.
Modified Paths:
--------------
trunk/dports/cross/avr-binutils/Portfile
Modified: trunk/dports/cross/avr-binutils/Portfile
===================================================================
--- trunk/dports/cross/avr-binutils/Portfile 2014-03-16 01:50:11 UTC (rev 117876)
+++ trunk/dports/cross/avr-binutils/Portfile 2014-03-16 02:08:49 UTC (rev 117877)
@@ -10,4 +10,12 @@
checksums rmd160 b4aa3ea5ba9d0d9f817b2cf136e7f911f692af8d \
sha256 e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137
+# The build system doesn't install libiberty, even though
+# crossbinutils-1.0 tells it to.
+post-patch {
+ set include ${prefix}/${crossbinutils.target}/host/include
+ reinplace s|@target_header_dir@|${include}| \
+ ${worksrcpath}/libiberty/Makefile.in
+}
+
configure.args-append --disable-werror
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140315/d86fb7bc/attachment.html>
More information about the macports-changes
mailing list