[121457] users/mojca/ports/cross/i686-w64-mingw32-binutils/Portfile
mojca at macports.org
mojca at macports.org
Wed Jun 25 17:31:14 PDT 2014
Revision: 121457
https://trac.macports.org/changeset/121457
Author: mojca at macports.org
Date: 2014-06-25 17:31:14 -0700 (Wed, 25 Jun 2014)
Log Message:
-----------
mojca/i686-w64-mingw32-binutils: add symlinks to bin
Modified Paths:
--------------
users/mojca/ports/cross/i686-w64-mingw32-binutils/Portfile
Modified: users/mojca/ports/cross/i686-w64-mingw32-binutils/Portfile
===================================================================
--- users/mojca/ports/cross/i686-w64-mingw32-binutils/Portfile 2014-06-26 00:17:51 UTC (rev 121456)
+++ users/mojca/ports/cross/i686-w64-mingw32-binutils/Portfile 2014-06-26 00:31:14 UTC (rev 121457)
@@ -14,13 +14,23 @@
checksums rmd160 b4aa3ea5ba9d0d9f817b2cf136e7f911f692af8d \
sha256 e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137
+# TODO: try to use ${prefix} for --prefix and --with-sysroot,
+# but figure out how to do that consistently
configure.pre_args-delete \
--prefix=${prefix}
configure.args-append \
--prefix=${mingw_prefix} \
--with-sysroot=${mingw_prefix} \
+ --disable-multilib \
--disable-werror
-# --enable-targets=x86_64-${mingw_name},i686-${mingw_name}
+# TODO: this code should be removed once --prefix gets fixed
+post-destroot {
+ ui_info "path: ${destroot}${mingw_prefix}/bin"
+ foreach file [glob -tails -directory ${destroot}${mingw_prefix}/bin ${mingw_target}-*] {
+ ln -s "${mingw_prefix}/bin/${file}" "${destroot}${prefix}/bin/"
+ }
+}
+
maintainers mojca openmaintainer
homepage http://mingw-w64.sourceforge.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140625/35a868a9/attachment.html>
More information about the macports-changes
mailing list