[148926] trunk/dports/graphics/openexr

jeremyhu at macports.org jeremyhu at macports.org
Sun May 22 18:35:58 PDT 2016


Revision: 148926
          https://trac.macports.org/changeset/148926
Author:   jeremyhu at macports.org
Date:     2016-05-22 18:35:58 -0700 (Sun, 22 May 2016)
Log Message:
-----------
openexr: Fix some build failures

Modified Paths:
--------------
    trunk/dports/graphics/openexr/Portfile

Added Paths:
-----------
    trunk/dports/graphics/openexr/files/patch-ltmain.sh.diff

Modified: trunk/dports/graphics/openexr/Portfile
===================================================================
--- trunk/dports/graphics/openexr/Portfile	2016-05-23 01:11:33 UTC (rev 148925)
+++ trunk/dports/graphics/openexr/Portfile	2016-05-23 01:35:58 UTC (rev 148926)
@@ -107,6 +107,10 @@
     patchfiles-append   patch-fltk.diff
 }
 
+# The bundled libtool doesn't support -stdlib=...
+patchfiles-append \
+    patch-ltmain.sh.diff 
+
 test.run        yes
 test.target     check
 

Added: trunk/dports/graphics/openexr/files/patch-ltmain.sh.diff
===================================================================
--- trunk/dports/graphics/openexr/files/patch-ltmain.sh.diff	                        (rev 0)
+++ trunk/dports/graphics/openexr/files/patch-ltmain.sh.diff	2016-05-23 01:35:58 UTC (rev 148926)
@@ -0,0 +1,12 @@
+--- ltmain.sh.orig	2016-05-22 18:07:05.000000000 -0700
++++ ltmain.sh	2016-05-22 18:14:50.000000000 -0700
+@@ -4765,7 +4765,8 @@ func_mode_link ()
+       # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
+       # @file GCC response files
+       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
++      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
++      -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: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160522/77469909/attachment.html>


More information about the macports-changes mailing list