[93788] trunk/dports/devel/libtool
titus at macports.org
titus at macports.org
Wed May 30 23:57:06 PDT 2012
Revision: 93788
https://trac.macports.org/changeset/93788
Author: titus at macports.org
Date: 2012-05-30 23:57:06 -0700 (Wed, 30 May 2012)
Log Message:
-----------
#32982: patch to allow -stdlib= as linker flags
Modified Paths:
--------------
trunk/dports/devel/libtool/Portfile
Added Paths:
-----------
trunk/dports/devel/libtool/files/
trunk/dports/devel/libtool/files/ltmain.m4sh-allow-clang-stdlib.diff
Modified: trunk/dports/devel/libtool/Portfile
===================================================================
--- trunk/dports/devel/libtool/Portfile 2012-05-31 06:34:30 UTC (rev 93787)
+++ trunk/dports/devel/libtool/Portfile 2012-05-31 06:57:06 UTC (rev 93788)
@@ -4,6 +4,7 @@
name libtool
version 2.4.2
+revision 1
categories devel sysutils
# Scripts are GPL-2+, libltdl is LGPL-2+, but all parts that tend to be
# distributed with dependents have a licensing exception that allows
@@ -39,6 +40,11 @@
GCJ=no \
--program-prefix=g
+# Patch to allow -stdlib=* for the linker
+# See ticket 32982.
+# committed upstream -> remove for libtool 2.4.3
+patchfiles ltmain.m4sh-allow-clang-stdlib.diff
+
use_parallel_build yes
post-destroot {
Added: trunk/dports/devel/libtool/files/ltmain.m4sh-allow-clang-stdlib.diff
===================================================================
--- trunk/dports/devel/libtool/files/ltmain.m4sh-allow-clang-stdlib.diff (rev 0)
+++ trunk/dports/devel/libtool/files/ltmain.m4sh-allow-clang-stdlib.diff 2012-05-31 06:57:06 UTC (rev 93788)
@@ -0,0 +1,14 @@
+--- libltdl/config/ltmain.m4sh.org 2012-01-22 10:42:35.000000000 +0100
++++ libltdl/config/ltmain.m4sh 2012-01-22 10:43:32.000000000 +0100
+@@ -5064,9 +5064,10 @@
+ # -tp=* Portland pgcc target processor selection
+ # --sysroot=* for sysroot support
+ # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
++ # -stdlib=* select c++ std lib with clang
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+- -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
++ -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120530/c2beaf25/attachment.html>
More information about the macports-changes
mailing list